Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Missing touch option in Rails has_many relation

Rails - only find records where has_many associated records are present

How to test ActiveRecord callbacks with RSpec?

Rails: Has and belongs to many (HABTM) -- create association without creating other records

activerecord where clause on relation belongs_to

What Does This Rails4 error mean? fatal: exception reentered ... `rescue in rollback_active_record_state!'

Use Rails' select() to add (not overwrite) selected attributes?

Ruby on Rails find_by case insensitive

ActiveRecord talk to two databases?

How do I test if an ActiveRecord attribute is an Enum?

(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