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
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
Sebastian F. 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_helpful
It 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 S.
http://blog.hasmanythrough.com
On Tue, Sep 05, 2006 at 07:41:33PM -0500, Sebastian F. 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 Molina Jr. [email protected]
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 F. 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 Molina Jr. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs