Displaying 4 results from an estimated 4 matches for "admin_help".
Did you mean:
adminhelp
2007 Dec 20
3
How-to spec this helper method?...
Hey gang,
I have this dead-simple method defined in a helper:
def add_category_link(name)
link_to_function name do |page|
page.insert_html :bottom, :categories, :partial =>
''category'', :object => Category.new
end
end
Where, and mostly how, would I spec this? I haven''t been able to find
how to stub the rjs in a helper spec, so
2006 Aug 17
6
NameError in AdminController#index building scaffold
...rhtml
create app/views/admin/list.rhtml
create app/views/admin/show.rhtml
create app/views/admin/new.rhtml
create app/views/admin/edit.rhtml
create app/controllers/admin_controller.rb
create test/functional/admin_controller_test.rb
create app/helpers/admin_helper.rb
create app/views/layouts/admin.rhtml
create public/stylesheets/scaffold.css
Looks like no problem, but then I check the page:
NameError in AdminController#index
uninitialized constant User
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
D:...
2005 Aug 29
2
Where to point the browser to for appdoc documentation
...listing doc.bat
rdoc -o doc/app --line-numbers --inline-source --title ''Rails Application
Documentation''
doc/README_FOR_APP
app/controllers/admin_controller.rb
app/controllers/application.rb
app/controllers/login_controller.rb
app/controllers/store_controller.rb
app/helpers/admin_helper.rb
app/helpers/application_helper.rb
app/helpers/login_helper.rb
app/helpers/store_helper.rb
app/models/cart.rb
app/models/line_item.rb
app/models/order.rb
app/models/product.rb
app/models/user.rb
Thanks in advance,
Martijn
2006 Apr 20
8
generate scaffold not generating views
Hi!
Sorry for the newbie question...
I''m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/