Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion What is SimplyHelpful?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Marcel Molina Jr.  
View profile   Translate to Translated (View Original)
 More options 6 Sep 2006, 02:13
From: "Marcel Molina Jr." <mar...@vernix.org>
Date: Wed, 6 Sep 2006 01:13:29 +0000
Local: Wed 6 Sep 2006 02:13
Subject: Re: [Rails] What is SimplyHelpful?

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. <mar...@vernix.org>


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google