Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails Active Record case insensitive find

Understanding MongoMappers many relationship

Rails - How to force associations to use alias table name

Active Record scope chaining, ignore joins, if already joined

Rails: monkey-patching ActiveRecord::Base vs creating a Module

Implementing ActiveRecord-like associations for an API wrapper

In Ruby on Rails, how can I create a scope for a has_many relationship?

Is there a Ruby database migration gem, that helps you move content from an old structure to a new structure?

Rails ActiveRecord validation: maximum length of a string?

Rails 3 after_initialize not running when create is called with a block

Why does active record pattern not work with rich domain models?

Making ActiveRecord / Rails use actual mysql TIMESTAMP columns

How to access params in the callback of a Rails model?

Faster way to find the last updated timestamp

Switching between multiple databases in Rails without breaking transactions

Rails: How to handle "Attribute was supposed to be a Array, but was a String" error?

Rails migration generates default timestamps (created_at, updated_at) as NULLABLE

How can I see the SQL ActiveRecord generates?

Ruby on Rails: question about validates_presence_of