Displaying 1 result from an estimated 1 matches for "project_display_opt".
2006 Apr 23
5
Controllers in folders and helper scope in Rails >1.0
...to 1.1.1 through Locomotive bundle or 1.1.2 through normal means
(sudo gem update rails, ..., etc) and this behavour breaks.
The original working code in the admin-controller is like this:
class Admin::ProjectController < ApplicationController
layout "admin"
def index
@project_display_options =
ProjectHelper::ProjectDisplayOptions.new(params, session)
...
and it accessed ProjectDisplayOptions class from the user-scope helper:
module ProjectHelper
class ProjectDisplayOptions
attr_accessor :project
...
Now, in Rails 1.1.x, my application breaks as if the user-...