Displaying 3 results from an estimated 3 matches for "projecthelp".
Did you mean:
rprojecthelp
2006 Apr 23
5
Controllers in folders and helper scope in Rails >1.0
...again, there are global
ones (used by both by users and admins), and special ones for admins.
So it looks like this:
/app/helpers/admin/project_helper.rb
/app/helpers/admin/...
/app/helpers/project_helper.rb
/app/helpers/...
The admin helper contains properly scoped content:
module Admin::ProjectHelper
...
end
and normal helper has also:
module ProjectHelper
...
end
It is important, that admin-scope controllers are also accessing and
using constants and classes defined in user-scope helpers. This
worked fine in 0.14.x and in 1.0 versions of Rails. Now I''m trying to
move...
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out.
found this great tutorial at http://dev.nozav.org/rails_ajax_table.html.
got it working except for one thing.
I can''t seem to make the pagination work. The link_to_remote defined in
the helper is pointing to the wrong url.
I have set up things like so:
defined a search method in de project_controller located in
apps/admin/project.
2007 Oct 10
2
RSpec seems to be having a hard time loading Helper classes
I am getting the error when I run the command: rake spec
This is a new project with not current test written besides the ones
auto-created for me.
+++++++++
$ rake spec
(in /Users/chrisolsen/Projects/Rails/chrisolsen/trunk)
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in
`load_missing_constant'': uninitialized constant ProjectsHelper