Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Rails 3 ActiveRecord query using both SQL IN and SQL OR operators

How to revert/undo local changes to an Activerecord object?

CodeIgniter query: How to move a column value to another column in the same row and save the current time in the original column?

how to update a record without worrying about primary key

Rails 3. How to perform a save action on all records?

MySQL INNER JOIN - '=' vs 'like'