Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails 3 ActiveRecord query using both SQL IN and SQL OR operators

How to revert/undo local changes to an Activerecord object?

CodeIgniter query: How to move a column value to another column in the same row and save the current time in the original column?

how to update a record without worrying about primary key

Rails 3. How to perform a save action on all records?

MySQL INNER JOIN - '=' vs 'like'

Rails 4 - how to give alias names to includes() and joins() in active record querying

How to extend ActiveRecord::Migration with additional methods?

Rails 5 SQL Injection

Namespaced models in Rails: What's the state of the union?

Pros/Cons of storing serialized hash vs. key/value database object in ActiveRecord?

Rails 5: Add belongs_to association with custom name to model, and migration

Rails 3 ActiveRecord abstract objects

What are all possible keys for database.yml

How do I make an ActiveRecord scope that doesn't affect the query in Rails 3 using Arel (presumably)?

How to mock and stub active record before_create callback with factory_girl

Is there a clean API for resetting instance variables on 'reload' in ActiveRecord?

Active Record :includes with limit

Disabling Rails SQL query caching globally

combine results from two queries and order by created_at? [rails 3]