Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to pass data to IN query in rails 3

ruby-on-rails check if query result is empty (Model.find)

New model object through an association

Rails: ensure capitalization in model?

How can I store a hash in my database?

ruby activerecord hash

How to get highest count of associated model (Rails)?

Rails includes nested relations

find_or_create_by in Rails 3 and updating for creating records

Rails ActiveRecord - Search on Multiple Attributes

Is it possible to add a function-based database-agnostic index via a Rails/ActiveRecord migration?

Is there any good way to DRY up scope / predicate logic duplication?

ActiveRecord: Adding condition to ON clause for includes

Rails 3 adding database name to table makes includes default to eager load

How to determine if association changed in ActiveRecord?

validate vs validates_associated

rails polymorphic with includes based on type of class

rails 4-- model with no table

Companies to do code review of crypto in an ActiveRecord / Ruby on Rails webapp? [closed]