I''ve been listening to the discussions regarding the plans to eliminate push_with_attributes. While I think it''s good practice to make join models if you''re developing a new system, I can''t help but think t hat push_with_attributes should be left around to deal with legacy databases. I might want to wrap my application around a database I don''t control. Making a new join model might not be an option for me (unless there''s something I''m missing). The linking table may have attributes that I''ll need to change. I could still get them updated via SQL but that''s silly since this is alredy handled by AR. Would anyone care to comment on this? Perhaps the functionality could be removed from Rails but placed in a *maintained* plugin for legacy database support? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060427/ad34d045/attachment.html
Brian Hogan
2006-May-01 14:05 UTC
[Rails] Re: issue with deprecatiing push_with_attributes
Should this be asked elsewhere? On 4/27/06, Brian Hogan <bphogan@gmail.com> wrote:> > I''ve been listening to the discussions regarding the plans to eliminate > push_with_attributes. While I think it''s good practice to make join models > if you''re developing a new system, I can''t help but think t hat > push_with_attributes should be left around to deal with legacy databases. > > I might want to wrap my application around a database I don''t control. > Making a new join model might not be an option for me (unless there''s > something I''m missing). The linking table may have attributes that I''ll > need to change. > > I could still get them updated via SQL but that''s silly since this is > alredy handled by AR. > > Would anyone care to comment on this? Perhaps the functionality could be > removed from Rails but placed in a *maintained* plugin for legacy database > support? >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060501/d61fa2a9/attachment.html