Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Problem with self-referential has_many :through associations in Rails

does rails postgres adapter support ssl?

Why does a query in rails with a limit not work unless .all is put on the end

Rails where condition on un-persisted association

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