When Campfire - the first Once product - came out, a few of us at Ruby Zagreb pitched in to buy a copy. Prometheus had brought fire from Mount Olympus, and...| stanko.io
Active Storage OverviewThis guide covers how to attach files to your Active Record models.After reading this guide, you will know: How to attach one or many files to a record. How to delete an attached file. How to link to an attached file. How to use variants to transform images. How to generate an image representation of a non-image file, such as a PDF or a video. How to send file uploads directly from browsers to a storage service, bypassing your application servers. How to clean up files ...| Ruby on Rails Guides
Action View Form HelpersForms are a common interface for user input in web applications. However, form markup can be tedious to write and maintain because of the need to handle form controls, naming, and attributes. Rails simplifies this by providing view helpers, which are methods that output HTML form markup. This guide will help you understand the different helper methods and when to use each.After reading this guide, you will know: How to create basic forms, such as a search form. How to ...| Ruby on Rails Guides
Active Record MigrationsMigrations are a feature of Active Record that allows you to evolve your database schema over time. Rather than write schema modifications in pure SQL, migrations allow you to use a Ruby Domain Specific Language (DSL) to describe changes to your tables.After reading this guide, you will know: Which generators you can use to create migrations. Which methods Active Record provides to manipulate your database. How to change existing migrations and update your schema. How ...| Ruby on Rails Guides
Action Text OverviewThis guide provides you with all you need to get started in handling rich text content.After reading this guide, you will know: What Action Text is, and how to install and configure it. How to create, render, style, and customize rich text content. How to handle attachments.| Ruby on Rails Guides
Testing Rails ApplicationsThis guide covers built-in mechanisms in Rails for testing your application.After reading this guide, you will know: Rails testing terminology. How to write unit, functional, integration, and system tests for your application. Other popular testing approaches and plugins.| Ruby on Rails Guides
Active Record restates the traditional question of how to separate persistence from domain logic: what if you don’t have to?| 37signals Dev
Active Record Query InterfaceThis guide covers different ways to retrieve data from the database using Active Record.After reading this guide, you will know: How to find records using a variety of methods and conditions. How to specify the order, retrieved attributes, grouping, and other properties of the found records. How to use eager loading to reduce the number of database queries needed for data retrieval. How to use dynamic finder methods. How to use method chaining to use multiple Acti...| Ruby on Rails Guides
Active Record BasicsThis guide is an introduction to Active Record.After reading this guide, you will know: How Active Record fits into the Model-View-Controller (MVC) paradigm. What Object Relational Mapping and Active Record patterns are and how they are used in Rails. How to use Active Record models to manipulate data stored in a relational database. Active Record schema naming conventions. The concepts of database migrations, validations, callbacks, and associations.| Ruby on Rails Guides