Rails: How do I create a default value for attributes in Rails activerecord's model?
70775
Rails: How can I set default values in ActiveRecord?
155351
Rails: Has and belongs to many (HABTM) -- create association without creating other records
105779
Does SQLAlchemy have an equivalent of Django's get_or_create?
108153
Preparing a MySQL INSERT/UPDATE statement with DEFAULT values
79732
Changing a column type to longer strings in rails
35474
How can I dynamically change the Active Record database for all models in Ruby on Rails?
146176
Rails nested association and restarted numbering
95919
Rails has_many :through Find by Extra Attributes in Join Model
52193
How do I do two has_many/belongs_to relationships between two models?
127287
Custom formats in Ruby on Rails
99046
instance variable vs. symbol in ruby on rails (form_for)
149151
adding attributes to a Ruby object dynamically
35011
How can I count the number of records that have a unique value in a particular field in ROR?
116700
Can I or SHOULD I find an object by the object_id attribute in ruby?
134117
Defining foreign key relationships for Rails' models
16807
Should I always/ever/never initialize object fields to default values?
154167
How do you set attributes on SubValues?