ruby - Heroku Production Rails(3.2.3) Active admin(0.5) NoMethodError in create & update -
as working on active admin(0.5) rails 3.2.3 using multilingual support using globalise 3 . when running application on local under development & production environment works great. but when deployed on heroku production mode throwing me error same code using on local. when click on create new page giving me below error: nomethoderror in admin::hometemplatescontroller#new undefined method `build_app_page' nil:nilclass rails.root: /app application trace | framework trace | full trace app/admin/home_templates.rb:16:in `new' please find below code activeadmin.register hometemplate menu false config.clear_action_items! form :partial => "form" controller protect_from_forgery :except => :sort def new # @home_template =hometemplate.new # if !!current_ability.attributes_for(:create, hometemplate)[:app_instance_id] # @valid_parents = apppage.where("app_instance_id = ? , parent_id null", cur...