homeASCIIcasts

Episodes tagged with “models”

  1. 238

    Mongoid Other translations: Es Pt

    Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here we cover installation, adding fields, validations, associations, and keys.

    Tags: models plugins

  2. 237

    Dynamic attr_accessible Other translations: Pt Es

    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.

    Tags: security rails-30 models

  3. 219

    Active Model Other translations: It Es Cn Fr

    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

  4. 194

    MongoDB and MongoMapper Other translations: Pt Es Cn It

    MongoDB is a document-based database engine. Learn how to use it in Rails application with Mongomapper in this episode.

    Tags: models plugins

  5. 167

    More on Virtual Attributes Other translations: Cn

    Make use of virtual attributes and callbacks to implement tagging in a blogging application.

    Tags: models forms