Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Why can't I check ActiveRecord validations in the console?

Override the default Rails model template

Rails: Can you pass arguments to the after_create method?

Ruby array equivalent of active record.where(criteria)

How to change primary key type in postgreSQL to bigserial using Rails/ActiveRecord

how to build query like `select ... where id % 2 = 1` using Yii 2 ?

activerecord yii2

how to map non-standard table with ActiveRecord or should I use other ORM?

Exception pages in development mode take upwards of 15-30 seconds to render, why is that?

CodeIgniter active record, Add IF statement in ->select() function

Select everything in a database WHERE & order by

Rails - using enum in a .where query

Transforming ActiveRecord validation errors into API consumable errors

How can I build up an ActiveRecord query incrementally, line by line?

Ruby on rails, Change column value on update of other column value

codeigniter active record where, or_where?

Get ActiveRecord MySQL Query result as a hash, not array

activerecord mysql2

ActiveRecord Subquery Inner Join

How do I load seed.rb within a Rails test environment using RSpec?

rails 4 - update user object and bypass model validations

Rails validate type date?