Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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]

Custom order based on Enum values

What does Vo stands for? [closed]

oop activerecord orm

Constructing a Rails ActiveRecord where clause

How can I make named_scope in Rails return one value instead of an array?

How to use `to_sql` in AREL when using `average()`?

Possible to skip validations on update_attributes?

undefined method `default_scoped?' while accessing scope

Increasing counter in database

Difference between ActiveRecord's finder methods: take vs limit(1)

Ruby on Rails: loading seed data from a YAML file