Why not just use sti the way rails wants you to? On Nov 29, 9:04 pm, Hugh Evans <[email protected]> wrote: > How many different product types do you envisage you will need? If not many > then just go with Jason's suggestion and have a controller/resource for > each. > > Besides, a good human oriented e-commerce site will have hand crafted > category pages. > > HughOn Mon, Nov 29, 2010 at 5:53 PM, Dmytrii Nagirniak <[email protected]> > wrote: > > > On 29 November 2010 17:46, Korny Sietsma <[email protected]> wrote: > > >> Sigh. Yes, I know. But after 20+ years in the IT industry, I have spent > >> far too much time wading through other developer's similar decisions. (And > >> being forced to make similar compromises myself, of course...) > > > I guess it's always a trade-off: if you have plenty of time you can think > > about anything that can possibly happen with the app for the next 20 years. > > If you don't - you just need the app working. > > > In any case, the next version of rails will probably force you > > to rethink the current approach and refactor it :) > > > Cheers, > > Dima. > > >> - Korny > > >> On Mon, Nov 29, 2010 at 5:07 PM, Dmytrii Nagirniak <[email protected]>wrote: > > >>> On 29 November 2010 16:36, Korny Sietsma <[email protected]> wrote: > > >>>> ... and what happens in 6 months time, when someone creates a product > >>>> type called "foo" ? > > >>> In six months time the application might not exists, be different from > >>> what it is now and the context will be absolutely irrelevant. He needs > >>> the solution for EXISTING problem now, not imaginable one in six months. > > >>> So from this perspective it seems like the solution proposed by Bayan > >>> Khalil is the least friction and easy one. > > >>> Cheers, > >>> Dima. > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "Ruby or Rails Oceania" group. > >>> To post to this group, send email to [email protected]. > >>> To unsubscribe from this group, send email to > >>> [email protected]<rails-oceania%2bunsubscr...@goog > >>> legroups.com> > >>> . > >>> For more options, visit this group at > >>>http://groups.google.com/group/rails-oceania?hl=en. > > >> -- > >> Kornelis Sietsma korny at my surname dot comhttp://korny.info > >> "Every jumbled pile of person has a thinking part > >> that wonders what the part that isn't thinking > >> isn't thinking of" > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Ruby or Rails Oceania" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<rails-oceania%2bunsubscr...@goog > >> legroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/rails-oceania?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby or Rails Oceania" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<rails-oceania%2bunsubscr...@goog > > legroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rails-oceania?hl=en.
-- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
