activescaffold/active_scaffold — Issue #127: args_for_lookup in Rails 3.2 has one more (mandatory) argument
Author: clyfe
Created: 2012-01-27 20:26:54+00:00
State: open

AS calls `args_for_lookup` [here](https://github.com/activescaffold/active_scaffold/blob/master/lib/active_scaffold/extensions/action_view_rendering.rb#L7).
In Rails 3.2 this method has [one more mandatory argument](https://github.com/rails/rails/blob/master/actionpack/lib/action_view/lookup_context.rb#L136) in the form of `details_options`, although it could had been safely set to default to `nil` directly in the Rails source.

* We either make an issue on rails to default last argument to nil
* We either just add an extra nil argument when we call it [here](https://github.com/activescaffold/active_scaffold/blob/master/lib/active_scaffold/extensions/action_view_rendering.rb#L7).