FYI... I believe that Users error message is not relevant; when I updated the controller config as below, it went away...jon
On Monday, April 29, 2013 12:19:25 PM UTC-7, JESii wrote: > > Thanks for the response, Herman... I tried that but still getting the > problem. Here's my updated controller for Goals: > active_scaffold :goal do |config| > config.list.columns = [:statement] > config.create.columns = [:statement] > config.show.columns = [:statement] > config.update.columns = [:statement] > config.update.link.label = "Edit Goal" > config.show.link.label = "Show Goal" > config.create.link.label = "Add a new Goal" > end > > I'm still getting the 'nil' error, but on a couple of occasions I got an > error like this: > ActionView::Template::Error (Could not find Members::UsersController or > Members::UserController or UsersController or UserController): > > I'm using Devise, so there's no explicit Users controller. The reference > to 'members' is because I have a number of models/controllers that are all > grouped under members/. > > ...jon > > On Monday, April 29, 2013 9:03:55 AM UTC-7, HernĂ¡n Astudillo wrote: >> >> your problem is your controller: >> >> config.columns = [:statement] >> >> here, you're excluding globally all columns except statement. Therefore, >> user doesn't exist. >> >> If you want to list only that column, use: >> >> config.list.columns = [:statement] >> >> same for show, edit, create. >> >> >> >> On Sat, Apr 27, 2013 at 6:55 PM, JESii <[email protected]> wrote: >> >>> Sorry; I was actually using AS 3.3.0.rc3 from github master...jon >>> >>> >>> On Saturday, April 27, 2013 2:03:57 PM UTC-7, JESii wrote: >>>> >>>> I have an application with ActiveScaffold (gem - 3.2.20) which has many >>>> error symptoms: . Ruby version 1.9.3p194, Rails, 3.2.12 using the asset >>>> pipeline. Things display OK, but Create, Edit, Show, Delete all give a 500 >>>> internal error. It's an asset pipeline enabled, and I have the AS css and >>>> js included in the assets setup. >>>> >>>> >>>> The details are in a pastie at http://pastie.org/7730509#1 >>>> >>>> >>>> Any suggestions for what I'm doing wrong would be most appreciated. >>>> >>>> >>>> Thanks...jon >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "ActiveScaffold : Ruby on Rails Gem" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at >>> http://groups.google.com/group/activescaffold?hl=en-US. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
