Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

(Rails) When to use ActiveRecord's .where and .select

Rails database boolean values

Rails: How do self-referential has_many models work?

Rails how to set a temporary variable that's not a database field

Override just the default scope (specifically order) and nothing else in Rails

Finding all the users that have duplicate names

How do I do a LIKE % query in ActiveRecord?

ruby activerecord

rails 3/postgres - how long is a string if you don't apply :limit in schema

ActiveRecord : Hide column while returning object

How to turn off auto_increment in Rails Active Record

Rails: ActiveRecord db sort operation case insensitive

Is after_validation hook called every time on Active Record?

Can ActiveRecord create tables outside of a migration?

Dynamically defined setter methods using define_method?

Use specific mysql index with rails

How to make all model attributes accessible for mass-assignment?

Eager loading in deep level nested association

What is the ActiveModel method attribute "_was" used for?

How to reset auto increment field in a ActiveRecord migration?

General rescue throughout controller when id not found - RoR