Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

How to chain scope queries with OR instead of AND?

How can I avoid running ActiveRecord callbacks?

Rails 3 datatypes?

Rails extending ActiveRecord::Base

Rails: validate uniqueness of two columns (together)

Random record in ActiveRecord

Add timestamps to an existing table

Combine two ActiveRecord::Relation objects

Check if a table exists in Rails

Rails ActiveRecord date between

ActiveRecord OR query

Rails - Nested includes on Active Records?

Validate uniqueness of multiple columns

Understanding :source option of has_one/has_many through of Rails

ActiveRecord: size vs count

How to express a NOT IN query with ActiveRecord/Rails?

ActiveModel::ForbiddenAttributesError when creating new user

Float vs Decimal in ActiveRecord

Ruby on Rails generates model field:type - what are the options for field:type?

Add a reference column migration in Rails 4