Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

Update README.rdoc #91

Merged
merged 2 commits into from
Feb 14, 2013
Merged

Update README.rdoc #91

merged 2 commits into from
Feb 14, 2013

Conversation

chikamichi
Copy link
Contributor

A more specific/detailed example for nested parameters showcasing the extra edge-case of allowing for deep nesting of an array of permitted scalar values.

A more specific/detailled example for nested parameters showcasing the extra edge-case of allowing for deep nesting of an array of permitted scalar values.
@rafaelfranca
Copy link
Member

cc @fxn

@fxn
Copy link
Member

fxn commented Jan 24, 2013

It is a good addition, but I would add it to the existing key, rather than replacing it.

@steveklabnik
Copy link
Member

@chikamichi any chance of updating this in the way @fxn asked?

@chikamichi
Copy link
Contributor Author

@steveklabnik done, but I think the example is somewhat bloated now :) My initial goal was to mention the syntax to be used to allow for an array of arbitrary scalar values (using the {:foo => []} trick, but nested, which was/is not so obvious).

Maybe this could be split, or worded differently?

@fxn
Copy link
Member

fxn commented Feb 14, 2013

I think it's OK, it is a generic example depicting different declarations and nestings. Thanks for the update.

steveklabnik added a commit that referenced this pull request Feb 14, 2013
@steveklabnik steveklabnik merged commit 368141d into rails:master Feb 14, 2013
@steveklabnik
Copy link
Member

I think it's fine for now. We already have a few simple examples up top, having a more complex one is good. Thank you! ❤️

@chikamichi
Copy link
Contributor Author

You're welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants