Brad Greenlee
|
afa0c7f728
|
Add support for :primary_key option to has_one as well as has_many so that a key other than the default primary key can be used for the association
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-06 20:25:10 +02:00 |
|
Andre Arko
|
3351d29970
|
Add has_many :primary_key option to allow setting the primary key on a has many association
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-06 20:25:10 +02:00 |
|
Jan De Poorter
|
7f140bbdda
|
Add :validate option to associations. [#301 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-06-11 12:21:57 +01:00 |
|
Michael Koziarski
|
6277fd9113
|
Fix faulty tests introduced in 8d0b4fa39
|
2008-05-24 18:34:59 +12:00 |
|
josevalim
|
8d0b4fa39f
|
Added :select option to has_one and belongs_to, remove unused :order option on belongs_to.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#241 state:resolved]
|
2008-05-24 17:58:03 +12:00 |
|
Rodrigo Kochenburger
|
bca8751e40
|
Add ActiveRecord option to store the full class name on STI's type column, allowing one to have STI subclasses in different namespaces [#114]
Signed-off-by: rick <technoweenie@gmail.com>
|
2008-05-13 15:04:11 -07:00 |
|
Jeremy Kemper
|
dfa786631b
|
Introduce the :readonly option to all associations. Records from the association cannot be saved. Closes #11084.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-13 06:32:50 +00:00 |
|
Jeremy Kemper
|
43b81d01d0
|
move assets and models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-18 07:27:03 +00:00 |
|