Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

How to prefill ActiveAdmin form value from another model?

How do I disable the migrations feature in a Rails app?

Rails: Omit order by clause when using ActiveRecord .first query?

Find records either with no association or where association attribute value !=? [duplicate]

ActiveRecord::Base.connected? returns true even if DB is down

Rails query works in console but not in view

rails autosave nested model selected with where/find_by

How to properly escape a regular expression in Active Record where clause

column_types is nil in Rails 4.0.1

Active Record query through relationship to find Record where none of its relationships have true for a value

Rails - Include association in json response

ActiveRecord Query to get a SUM across tables

Accepting nested attributes for parent model

Correct way to set yaml_column_permitted_classes for a custom class