diff options
author | pivotal <pivotal@lexington.flood.pivotallabs.com> | 2008-08-26 09:20:24 -0700 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-27 11:22:15 +0200 |
commit | 9dbde4f5cbd0617ee6cce3e41d41335f9c9ce3fd (patch) | |
tree | 4021ec03167071a1c2736b831f9cd9b2b99b288b /railties/lib/rails_generator/simple_logger.rb | |
parent | 6ec07e0737c3099056fc11fe43f4f19dde3770a6 (diff) | |
download | rails-9dbde4f5cbd0617ee6cce3e41d41335f9c9ce3fd.tar.gz rails-9dbde4f5cbd0617ee6cce3e41d41335f9c9ce3fd.tar.bz2 rails-9dbde4f5cbd0617ee6cce3e41d41335f9c9ce3fd.zip |
Fix two has_one :through errors
* Set the association target on assignment;
* Reset target to nil on reset, rather than empty array.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#895 state:committed]
Diffstat (limited to 'railties/lib/rails_generator/simple_logger.rb')
0 files changed, 0 insertions, 0 deletions