Hi! I''m trying to use jQuery''s Accordion (http://jqueryui.com/demos/ accordion/) in the home page of an app. One (maybe two...) doubt is bugging me, though... Do I have to have only one view/controller, holding the actions for all the accordion''s sections? What if (at least) one of those sections have tabs, is it still one view/controller? Thanks in advance, José Bonnet -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chris Kottom
2011-Jun-30 12:21 UTC
Re: (jQuery) Accordion and Rails (3.0.9): architectural doubt
This isn''t strictly a Rails question, but all the content sections in this component are just elements of the same HTML document, so that suggests one controller action / view template. On Thu, Jun 30, 2011 at 1:13 PM, JB <jose.bonnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi! > I''m trying to use jQuery''s Accordion (http://jqueryui.com/demos/ > accordion/) in the home page of an app. > > One (maybe two...) doubt is bugging me, though... > > Do I have to have only one view/controller, holding the actions for > all the accordion''s sections? What if (at least) one of those sections > have tabs, is it still one view/controller? > > Thanks in advance, > > José Bonnet > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.