![]() This is a rather comprehensive guide to the various testing facilities in Rails. Your application will be able to translate content to different languages, change pluralization rules, use correct date formats for each country, and so on. This guide covers how to add internationalization to your applications. This guide explains how Action Cable works, and how to use WebSockets to create real-time features.ĭigging Deeper Rails Internationalization (I18n) API It allows for real-time features to be written in Ruby in the same style and form as the rest of your Rails application. This guide covers how to attach files to your Active Record models.Īction Cable integrates WebSockets with the rest of your Rails application. This guide provides you with all you need to get started creating, enqueuing, and executing background jobs.Īctive Storage facilitates uploading files to a cloud storage service, transforming uploads and extracting metadata. Active Job BasicsĪctive Job is a framework for declaring background jobs and making them run on a variety of queuing backends. This guide describes how to use Action Text to handle rich text content. This guide describes how to use Action Mailbox to receive emails. This guide provides you with all you need to get started in sending emails from your application, and many internals of Action Mailer. It enriches the Ruby language for the development of Rails applications, and for the development of Ruby on Rails itself. Other Components Active Support Core ExtensionsĪctive Support provides Ruby language extensions and utilities. If you want to understand how to use routing in your own Rails applications, start here. This guide covers the user-facing features of Rails routing. The Rails router recognizes URLs and dispatches them to a controller's action. It includes sessions, filters, cookies, data streaming, and dealing with exceptions raised by a request, among other topics. This guide covers how controllers work and how they fit into the request cycle of your application. Rails does away with this complexity by providing view helpers for generating form markup.Īction Controllers are the core of a web request in Rails. HTML forms can quickly become tedious to write and maintain because of the need to handle form control naming and its numerous attributes. ![]() This guide introduces a few of the more common Action View helpers. Action View Helpers Work in progressĪction View has helpers for handling everything from formatting dates and linking to images, to sanitizing and localizing content. This guide covers the basic layout features of Action Controller and Action View, including rendering and redirecting, using content_for blocks, and working with partials. This guide provides an introduction to Action View. Views Action View Overview Work in progressĪction View is responsible for generating the HTML for web responses. This guide provides you with all you need to get started using Active Model classes. Active Model also helps build custom ORMs for use outside of the Rails framework. This guide covers different ways to retrieve data from the database using Active Record.Īctive Model allows you to create plain Ruby objects that integrate with Action Pack, but don't need Active Record for database persistence. Instead of using raw SQL to find database records, Active Record provides better ways to carry out the same operations. This guide covers all the associations provided by Active Record. In Active Record, an association is a connection between two Active Record models. This guide teaches you how to hook into this object life cycle of Active Record objects. This guide teaches you how to validate the state of objects before they go into the database, using Active Record's validations feature.Ĭallbacks make it possible to write code that will run whenever an object is created, updated, destroyed, etc. Validations are used to ensure that only valid data is saved into your database. Rather than write schema modifications in pure SQL, migrations allow you to use a Ruby DSL to describe changes to your tables. Migrations are a feature of Active Record that allows you to evolve your database schema over time. This guide will get you started with Active Record models and persistence to the database. Models Active Record BasicsĪctive Record allows your models to interact with the application's database. Everything you need to know to install Rails and create your first application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |