Switch to named params via "options" hash vs indexed args for pagination etc · Issue #17 · Tout/trubl · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has bitten me, and I wrote it. :) We should have the options to methods like retrieve_feed_touts be expressed as a named hash vs positional arguments. It's more expressive and rails-like in my opinion. Since there are sensible defaults in place, this really is optional configuration. Making this change would require breaking backwards compatibility so versioning would be key. SemVer?
The text was updated successfully, but these errors were encountered:
beautifulcode
changed the title
Switch to named params via "options" hash vs indexed args. It's more expressive.
Switch to named params via "options" hash vs indexed args for pagination etc
Jun 8, 2015
This has bitten me, and I wrote it. :) We should have the options to methods like retrieve_feed_touts be expressed as a named hash vs positional arguments. It's more expressive and rails-like in my opinion. Since there are sensible defaults in place, this really is optional configuration. Making this change would require breaking backwards compatibility so versioning would be key. SemVer?
The text was updated successfully, but these errors were encountered: