Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Can Rails ActiveRecord #save method be used to update an existing record? [duplicate]

Rails: Custom validation message

Get foreign key field from associations in Rails

Can I use an ActiveRecord scope as an instance method?

Rails 3 Joins -- Select only certain columns

NoMethodError: undefined method `safe_constantize'

Always eager load association with entity

ruby activerecord

Rails4: Can't modify frozen hash

Codeigniter - Batch Update with Multiple Where Conditions

Counting associated records in Rails

Rails User.joins.not(...) in Active Record?

Negate ActiveRecord query scope

ActiveRecord Association select counts for included records

Rails 3, ActiveRecord, PostgreSQL - ".uniq" command doesn't work?

rails select and include

Rails: Or & and in Rails ActiveRecord where clause

How Do I Search Between a Date Range, Using the ActiveRecord Model?

Rails - Check if any Object in an Array is an ActiveRecord instance or not

Is it a good idea to use CodeIgniters Active Record library to manipulate MySQL databases or should I just use SQL?

Rails, how to sanitize SQL in find_by_sql