Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to test model's callback method independently?

How to use long id in Rails applications?

How to combine two conditions in a where clause?

Pass array to where in Codeigniter Active Record

activerecord find all NOT included in an array

How do I find out why I couldn't #destroy() a record?

Using question mark character in Rails/ActiveRecord column name

ActiveRecord: Update a record if exists else create?

Separate date and time form fields in Rails

Rails idiom to avoid duplicates in has_many :through

Possible to specify unique index with NULLs allowed in Rails/ActiveRecord?

Rails includes with scope

Finding nil has_one associations in where query

How to specify a less than today condition on a date in Rails ActiveRecord

How to get an array with column names of a table

Grouping by week/month/etc & ActiveRecord?

Copy model instances in Rails

How to determine if any field in a model / nested model changed?

ActiveRecord finding existing table indexes

How do i work with two different databases in rails with active records?