Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to change a reference column to be polymorphic?

Accessing rails flash[:notice] in a model

Like and where condition in ruby

ActiveRecord: Do I need both belongs_to and has_one

Refactoring ActiveRecord models with a base class versus a base module

Concat in Codeigniter Active Record

codeigniter activerecord

What is the class of an association based on the foreign key attribute only?

Rails ActiveRecord return records where id exists in related table

ActiveRecord::Migration deprecation warning - asks for Rails version, but I'm not using Rails

How to find a model class from its table name?

Make root node in Active Model Serializer

Rails' ActiveRecord serialize :attr method gives "Missing Class or module error"

Deal with a drop_table migration for nonexistent table on heroku

How can I search date range in Rails with variable date

what's the proper way to handle timeouts for active record with a connection pool?

Naming conventions for Rails migrations

using scope on an association

Rails: Prevent parent model from being created and surfacing child model validation errors

Reload a model attribute

Rails 3: .group() ordered by created_at