Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Safely pass a dynamic column name into an ActiveRecord query with a Postgres cast?

Postgresql and ActiveRecord where: Regex matching

Adding unique: true for add_column and add_index in Active Record

Rails raw query for csv format, to be returned via controller

Ruby on Rails Active Record return value when create fails?

Ruby-on-Rails: Selecting distinct values from the model

Disable SQL Cache temporary in Rails?

Clean way to find ActiveRecord objects by id in the order specified

DEPRECATION WARNING: Dangerous query method: Random Record in ActiveRecord >= 5.2

How to save a model without running callbacks in Rails

Iterating through every record in a database - Ruby on Rails / ActiveRecord

How to test that a certain function uses a transaction in Rails and rspec 2

How do I add migration with multiple references to the same model in one table? Ruby/Rails

Rails first_or_create ActiveRecord method

after_create with multiple methods?

Add a reference column migration in Rails 5

ActiveRecord includes. Specify included columns

Rails ActiveRecord: validate single attribute

In Rails' ActiveRecord, what is touch for?

Rails 4 scope to find parents with no children