Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

codeigniter active record get query and query without the LIMIT clause

Rails, how to sort the array of active records by created_at

Rails - Cancel destroy on before_destroy callback

How do I save a current date/time for a DATETIME column in rails 3?

What is the difference between the build and create method in ActiveRecord relations?

How can I count the result of an ActiveRecord .group query? Chaining .count returns a hash

How to increase ActiveRecord thread pool size on heroku

Writing arbitrary attributes on a model is deprecated. (Multiple belongs_to on model)

Using ActiveRecord find_in_batches method for deleting large data