Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Bulk update attribute on multiple models in ActiveRecord?

Find by multiple conditions in rails

Rails migration, references `unique: true` isn't generating `unique: true` in schema causing constancy_fail check to fail

attr_accessible in rails Active Record

How to update only specific fields of an active record in Yii?

Why is before_save not getting called for my ActiveRecord model?

ActiveRecord + CodeIgniter - Return single value from query, not in array form

How to sort Rails AR.find by number of objects in a has_many relationship

Mixing ActiveRecord find Conditions

Creating a PostgreSQL sequence to a field (which is not the ID of the record)

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?