Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Rails 3 - select with Include?

How would you test observers with rSpec in a Ruby on Rails application?

Validation to ensure uniqueness of but ignoring empty values?

Getting error indicating number is "out of range for ActiveRecord::Type::Integer with limit 4" when attempting to save large(ish) integer value

ruby sqlite activerecord