Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Select records created between a time range regardless the date of creation

TypeError (no implicit conversion of nil into Integer) Active Record

How to count unique records through an association using a scope in Rails 3

Finding multiple records at once in Yii Framework using the infamous CActiveRecord?

php search activerecord date yii

Rails security: Avoiding mass-assignment altogether

ActiveRecord: Retrieve all records where updated_at is 24 hours or more after created_at

Date fields and textinput in rails

Run a helper method on a model class method

Ruby on Rails and eager loading model associations (to include or not to include)?

Adding attribute values to a join table record in a has_many :through association upon creation

Ensure that each instance of a model in Rails exists at most once in memory

How to make a complex SQL query with nested models?

Query for all users except for users with an ID in this collection

find_or_create ActiveRecord::RecordNotUnique rescue retry not working

how do I change a field of a model dynamically using a parameter on Rails?