Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Millisecond resolution of DateTime in Ruby

t.references in the migration vs belongs_to in the model?

Trouble with accepts_nested_attributes_for on validating foreign key

Is it a good idea to purge old Rails migration files?

problem with passing booleans to update_attributes

codeigniter active record left join

How can an ActiveRecord::Relation object call class methods

Rails ActiveRecord: PG::Error: ERROR: column reference "created_at" is ambiguous

How to save a model without running callbacks in Rails

PG::InvalidParameterValue: ERROR: invalid value for parameter "client_min_messages": "panic"

Filtering on activerecord relation without additional sql query?

has_many :through : How do you access join table attributes?

How to remove items from Activerecord query resultset?

Active Record with Delegate and conditions

Getting typed results from ActiveRecord raw SQL

Rails/Arel: Selecting all records as an ActiveRecord::Relation

Retrieving Rails Model Column Names

Rails Remove child association from parent

Rails rake db:migrate has no effect

Rails 3 validates inclusion of when using a find (how to proc or lambda)