AWDWR : Generating URL

From the book:

blog_admin_url :controller => ‘users’, :action => ‘list’

As we’re only using options to give the named parameters values, we
could
also have used.
blog_admin_url ‘users’, ‘list’

In the second form the order of the parameters matters right?

On Oct 20, 2006, at 2:47 PM, Bala P. wrote:

As we’re only using options to give the named parameters values, we
could also have used.

blog_admin_url ‘users’, ‘list’

In the second form the order of the parameters matters right?

Yes

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs