There have been lots of commits by the core team lately to a plug-in called SimplyHelpful[1]. Could anybody summarize what this is for? Thanks. Sebastian [1]http://dev.rubyonrails.org/browser/plugins/simply_helpful/lib/ simply_helpful --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Tue, Sep 05, 2006 at 07:41:33PM -0500, Sebastian Friedrich wrote:> There have been lots of commits by the core team lately to a plug-in > called SimplyHelpful[1]. Could anybody summarize what this is for? > Thanks.It''s applying opinions that evolved in the SimplyRestful plugin to the world of helpers. Just like SimplyRestful, though the conventional way of doing things continues to be supported, if you jump on board with certain conventions you''ll get some convenience for free. While SimplyRestful took on the controller side of things, this begins to address the view side of the puzzle. For example: @person # => <Person id: 1> render :partial => @person is the same as render :partial => ''people/person'', :object => @person and render :partial => @people is the same as render :partial => ''people/person'', :collection => @person and page[@person] is the same as page[dom_id(@person)] which is page[:person_1] and etc. marcel -- Marcel Molina Jr. <marcel-WRrfy3IlpWYdnm+yROfE0A@public.gmane.org> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Wed, Sep 06, 2006 at 01:13:29AM +0000, Marcel Molina Jr. wrote:> On Tue, Sep 05, 2006 at 07:41:33PM -0500, Sebastian Friedrich wrote: > > There have been lots of commits by the core team lately to a plug-in > > called SimplyHelpful[1]. Could anybody summarize what this is for? > > Thanks. > > Just like SimplyRestful, though the conventional way of doing things > continues to be supported, if you jump on board with certain conventions > you''ll get some convenience for free. While SimplyRestful took on the > controller side of things, this begins to address the view side of the > puzzle.I should clarify, "though the *originally* conventional way of doing things continues to be supported, if you jump on board with certain *new* conventions which we''re building atop the old ones you''ll get some convenience for free." ;) marcel -- Marcel Molina Jr. <marcel-WRrfy3IlpWYdnm+yROfE0A@public.gmane.org> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sebastian Friedrich wrote:> There have been lots of commits by the core team lately to a plug-in > called SimplyHelpful[1]. Could anybody summarize what this is for? > Thanks. > > Sebastian > > [1]http://dev.rubyonrails.org/browser/plugins/simply_helpful/lib/ > simply_helpfulIt provides a set of advanced form helpers for use with ActiveRecord and ActiveResource models. It follows conventions used by restful routes (formerly SimplyRestful), making your helper code smaller. -- Josh Susser http://blog.hasmanythrough.com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---