{"issue":{"created_at":"2011-11-25T21:03:54Z","state":"open","updated_at":"2011-11-29T09:14:42Z","user":{"gravatar_id":"ffbc20c7620f74a3c222f40044e638ef","id":57280,"url":"https://api.github.com/users/jonmc12","login":"jonmc12","avatar_url":"https://secure.gravatar.com/avatar/ffbc20c7620f74a3c222f40044e638ef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"I was updating the activescaffold gem in my project - was using vhochstein branch.  I'm getting unexpected behavior out of my active scaffolds that have nested helpers.\r\n\r\nFor instance, consider that a Project has many tasks, and they both use options_for_association_conditions in their helpers:\r\n\r\n    model ProjectsHelper\r\n      def options_for_association_conditions(association)\r\n         ... code ...\r\n      end\r\n    end\r\n\r\n    module ProjectTasksHelper\r\n      def options_for_association_conditions(association)\r\n        if association.name == :test\r\n          ... code ...\r\n        else\r\n          super\r\n        end\r\n      end\r\n    end\r\n\r\nIn the past, the 'super' method worked just fine.  However, upon updating the gem, I must now call 'super association' or I will get the following error:\r\n\r\n  ActionView::Template::Error (wrong number of arguments (0 for 1)):\r\n\r\nOn the line \r\n  \r\n  def options_for_association_conditions(association)\r\n\r\nin ProjectsHelper\r\n\r\nWhat is the proper way to chain associations the have nested helpers in the latest version of ActiveScaffold?  \r\n","assignee":null,"id":2352214,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":96,"title":"options_for_association_conditions - change in behavior","closed_at":null,"html_url":"https://github.com/activescaffold/active_scaffold/issues/96","url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/96","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T09:14:42Z","updated_at":"2011-11-29T09:14:42Z","user":{"gravatar_id":"fbef10e8904c80c015dce56f3fa09bea","id":20515,"url":"https://api.github.com/users/scambra","login":"scambra","avatar_url":"https://secure.gravatar.com/avatar/fbef10e8904c80c015dce56f3fa09bea?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"@jonmc12 Did you changed ruby version? super not passing implicit arguments has nothing to see with ActiveScaffold, it's a ruby issue.","id":2924315,"url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/comments/2924315"}}