Hi All, I''m looking for a quality scaffolding plugin. So far I''ve discovered DryScaffolding and Streamlined. DryScaffolding doesn''t truly support Rails 1.2.2 so I dropped that. Streamlined works, but is full of quirks (e.g. many-to-many relationships not cascade updating correctly, etc). Can anyone suggest a quality scaffolding plugin/ generator/framework that supports relationships? Thanks, Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Evans
2007-Feb-22 18:20 UTC
Re: Scaffolding plugins that support relationships. . .?
On 2/21/07, gberz3 <gberz3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m looking for a quality scaffolding plugin. So far I''ve discovered > DryScaffolding and Streamlined. DryScaffolding doesn''t truly support > Rails 1.2.2 so I dropped that. Streamlined works, but is full of > quirks (e.g. many-to-many relationships not cascade updating > correctly, etc). Can anyone suggest a quality scaffolding plugin/ > generator/framework that supports relationships?You can try the Scaffolding Extensions plugin [1], which supports relationships. Not sure what you mean about many-to-many relationships not cascade updating correctly, though. [1] http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy, Perhaps "cascade" is the wrong word. Basically, say I have two entities in a habtm with a join table: Orders, Contacts, and table contacts_orders. When updating one from the other, updates don''t always occur. Perhaps that''s simply a timing issue. The biggest issue, though, is that, for whatever reason, "streamlined" treats habtm relationships as though they''re unique. For instance, when I do successfully add (via checkbox) a Contact to Order #1, he can''t be used for Order #2. Not that it should affect it, but I''ve tried with and without explicit foreign keys, with and without indexes. I have *no* idea why it is behaving that way. Just out of curiosity, which of the plugins would you say is more full- featured (yours or ''streamlined'')? I''m on a tight deadline to get a demo running and I''m needing the most realiable, quick-fastest (as far as implementing) plugin out there. Thanks, Michael On Feb 22, 1:20 pm, "Jeremy Evans" <jeremyeva...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 2/21/07,gberz3<gbe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m looking for a quality scaffolding plugin. So far I''ve discovered > > DryScaffolding and Streamlined. DryScaffolding doesn''t truly support > > Rails 1.2.2 so I dropped that. Streamlined works, but is full of > > quirks (e.g. many-to-many relationships not cascade updating > > correctly, etc). Can anyone suggest a quality scaffolding plugin/ > > generator/framework that supports relationships? > > You can try the Scaffolding Extensions plugin [1], which supports > relationships. Not sure what you mean about many-to-many > relationships not cascade updating correctly, though. > > [1]http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Benjamin Curtis
2007-Feb-23 02:57 UTC
Re: Scaffolding plugins that support relationships. . .?
This may be helpful: http://agilewebdevelopment.com/plugins/scaffold -- Building an e-commerce site with Rails? http://www.agilewebdevelopment.com/rails-ecommerce Meet up at RailsConf: http://railsconf2007.conferencemeetup.com/ On Feb 21, 2007, at 3:51 PM, gberz3 wrote:> > Hi All, > > I''m looking for a quality scaffolding plugin. So far I''ve discovered > DryScaffolding and Streamlined. DryScaffolding doesn''t truly support > Rails 1.2.2 so I dropped that. Streamlined works, but is full of > quirks (e.g. many-to-many relationships not cascade updating > correctly, etc). Can anyone suggest a quality scaffolding plugin/ > generator/framework that supports relationships? > > Thanks, > Michael > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Evans
2007-Feb-23 17:31 UTC
Re: Scaffolding plugins that support relationships. . .?
On 2/22/07, gberz3 <gberz3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Perhaps "cascade" is the wrong word. Basically, say I have two > entities in a habtm with a join table: Orders, Contacts, and table > contacts_orders. When updating one from the other, updates don''t > always occur. Perhaps that''s simply a timing issue.I''m not sure how the other plugins deal with it, but with Scaffolding Extensions, you don''t edit one from the other. Each model object can be edited separately and you can add and remove associations to other model objects, but you directly edit one model object from another.> The biggest issue, though, is that, for whatever reason, "streamlined" > treats habtm relationships as though they''re unique. For instance, > when I do successfully add (via checkbox) a Contact to Order #1, he > can''t be used for Order #2. Not that it should affect it, but I''ve > tried with and without explicit foreign keys, with and without > indexes. I have *no* idea why it is behaving that way.I haven''t used Streamlined, so I''m not sure why it would behave that way (unless contact belongs_to order). With Scaffolding Extensions, each contact can have multiple orders, and each order can have multiple contacts, so you wouldn''t have a problem with multiple orders each associated with the same contact.> Just out of curiosity, which of the plugins would you say is more full- > featured (yours or ''streamlined'')? I''m on a tight deadline to get a > demo running and I''m needing the most realiable, quick-fastest (as far > as implementing) plugin out there.I haven''t used Streamlined, so I can''t say. From what I know about it, it''s a combination plugin/generator, while Scaffolding Extensions is just a plugin. If Scaffolding Extensions meets your customization needs, it''s probably faster, but if you need to customize each form beyond the options the plugin gives you, you may be better off with something else. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---