Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails ActiveRecord joins the same table twice

Accepts_nested_attributes_for raises ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR

Activerecord where condition with join without table name prefix

Pluck and ids give array of non unique elements

Using Rails' active record, is there another way to get a rollback without raising an exception?

Count and Sum in Join sub query - can I build this sql query using ActiveRecord?

ActiveRecord getter breaks validation

How do I reuse connections in ActiveRecord?

ruby activerecord sinatra

Rails: Self referential parent/child hierarchy without through table

Change 'ORDER BY' Chain on ActiveRecord Subset

Speeding up large data graph query and rendering with AMS

Directly inheriting from ActiveRecord::Migration is not supported

accepts_nested_attributes_for through join table with attributes on the join

SQL UNION with Rails ActiveRecord

Order by polymorphic belongs_to attribute

Rails3 ActiveRecord migrations on concurrent deploy

Why is my has_many through associated record (sometimes) readonly?

Rails associations - ideas for best practice

Rails 5 how to form association between tables on multiple shared attributes

Store accessor for nested JSON