Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord Validate Uniqueness with Scope Allowing Nil on Scope

Yii2 save related records in single save call in single transaction

Rails Find a Record Within ActiveRecord::Relation Object without querying database again

How can I use `should validate_presence_of` with a custom error message?

How to get id values after saving an ActiveRecord model in rails

Rails 4 Update Nested Attributes

Rails: Non id foreign key lookup ActiveRecord

rails dates with json

HABTM Polymorphic Relationship

INSERT IGNORE using Codeigniter

object.valid? returns false but object.errors.full_messages is empty

How to setup a one to many relationship?

undefined method `database_authenticatable' for #<ActiveRecord::ConnectionAdapters::TableDefinition:0x9dee690>

Case-insensitive unique index in Rails/ActiveRecord?

Rails custom validation - Only one record can be true

Shared scopes via module?

How to model interpretations of rap music

take vs first performance in Ruby on Rails

Rails - check if record exists in has_many association

ActiveRecord: How can I clone nested associations?