Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails Active Record - Get ids array from relation

How to specify multiple values in where with AR query interface in rails3

Is there a way to make Rails ActiveRecord attributes private?

How to use Rails 4 strong parameters with has_many :through association?

How to tell if already within a database transaction in ruby on rails?

Rails Scope returns all instead of nil

How to rescue model transaction and show the user an error?

Rails: Overriding ActiveRecord association method

Yii2 : Active Record add Not In condition

activerecord yii yii2

Getting CodeIgniter Active Record's current SQL code

Destroy on blank nested attribute

GroupingError: ERROR: column must appear in the GROUP BY clause or be used in an aggregate function

Rails Joins and include columns from joins table

Validating a Model Property is Greater than Another

Upsert in Rails ActiveRecord

What is the difference between attr_accessible(*attributes) & attr_protected(*attributes)?

Rails: includes with polymorphic association

Ruby on Rails memory leak when looping through large number of records; find_each doesn't help

ActiveRecord::AdapterNotSpecified database configuration does not specify adapter

Rails model.valid? flushing custom errors and falsely returning true