Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Possible to avoid ActiveRecord::ConnectionTimeoutError on Heroku?

A callback for ActiveRecord database connections?

Rendering a JSON object of a join-model and its associated models

Rails - build_association is not working for a has_one and belongs_to relationship

ActiveRecord find_or_build_by

Undefined method 'on' for ActionModel

escaping query for SQL LIKE in rails

ActiveRecord change or reset ordering defined in scope

Yii2 - What is the best way to get all unique model attribute values?

php sql arrays activerecord yii2

Yii2: Prevent empty string in attribute of ActiverRecord

How do I optimize an ActiveRecord find_in_batches query?

Can Rails' Active Record handle SQL aggregate queries?

Creating dynamic queries depending on parameter passed in rails 3

Codeigniter, increase database value by value contained in variable

Remove element from ActiveRecord_Relation in rails

Querying a Postgres array of integers in Rails

has_one and has_many in same model. How does rails track them?

Advantages and disadvantages of Ruby on Rails polymorphic relationships [closed]

Multithreaded ActiveRecord requests in rspec

codeigniter - database : how to update multiple tables with a single update query