Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord - replace model validation error with warning

Validating boolean value in Rspec and Rails

How to change ActiveRecord's table name during runtime

Rails 3 validate uniqueness ignores default scope on model

Can somebody recommend a good gem for contact handling? [closed]

Sortable UUIDs and overriding ActiveRecord::Base

PG::GroupingError: ERROR: column "events.id" must appear in the GROUP BY clause or be used in an aggregate function

Generate Models from Rails Schema

Why does ActiveRecord provide .delete_all and not .truncate?

Why does Relation.size sometimes return a Hash in Rails 4

ActiveRecord Virtual Attributes treaded as a record attributes

Renaming model association attributes in Rails JSON serialization?

Check if ActiveRecord object is destroyed using the .destroy() return value

Converting Rails model to SQL insert Query?

How to simulate ActiveRecord Model.count.to_sql

Undefined method #sanitize for ActiveRecord::Base

Is there a way to export an ActiveRecord object to seeds.rb?

Rails app connection pool size, avoiding max pool size issues

Include only the latest/newest associated record with active record?

What is the best way to override Rails ActiveRecord destroy behavior?