Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Validate Rails attribute presence but allow empty string

belongs_to not using primary key option

What's the significant difference between active record and data mapper based ORMs?

orm activerecord datamapper

What is Object::private and Object::public in Ruby?

Rails validatation to ensure a username does not clash with an existing route?

Rails 3.1.3 unscoped scope

rails Multiple models in a single file

Build vs new in Rails 4

When does ActiveRecord establish connections?

Update multiple rows with one query in rails

E-commerce product filter db design

Yii2: get raw sql of model->save()

php activerecord yii yii2

Rails: Calling Model methods in to_json(:methods => [:model_method])

How should I use Rails to index and query a join table?

Rails 4 after_save previous_changes not working

Modelling stock considering orders in Rails

Shouldn't Rails find_by_ methods return an empty array instead of nil?

Bulk upsert with Ruby on Rails

Ruby/ActiveRecord not detecting changes after stripping whitespace from field

mysql ruby activerecord

No possibility to update model attributes with a block syntax?