Episodes tagged with “models”
-
338
Globalize3
Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode.
Tags: plugins activerecord models
-
326
ActiveAttr
ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, read this episode.
-
238
Mongoid Other translations:
Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here we cover installation, adding fields, validations, associations, and keys.
-
237
Dynamic attr_accessible Other translations:
It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode.
-
219
Active Model Other translations:
In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models.
Tags: models
-
194
MongoDB and MongoMapper Other translations:
MongoDB is a document-based database engine. Learn how to use it in Rails application with Mongomapper in this episode.
-
167
More on Virtual Attributes Other translations:
Make use of virtual attributes and callbacks to implement tagging in a blogging application.