Displaying 3 results from an estimated 3 matches for "myhelpermodul".
Did you mean:
myhelpermodule
2007 Nov 06
4
help on helper module inclusion/extension
I want to include helper methods included to my Camping App from by
requiring an external file but I can''t seem to include helpers from
another module.
module CampingHelpers
def self.included(base)
base::Helpers.send(:include, Helpers)
end
module Helpers
def show_test
p "test"
end
end
end
Camping.goes :CampingApp
...
module
2008 May 14
3
description method and test failures
Hi all,
Hoping you can help. I have a project using rspec 1.1.3 and rails
2.0.2. I''ve run into a small problem. Said project has a method in
application_helper.rb named "description". Whenever a spec test
fails, I see a message like so:
*snip*/vendor/plugins/rspec/lib/spec/runner/reporter.rb:37:in
`description'': wrong number of arguments (0 for 2)
2007 May 07
3
Module Madness
I''m wanted to make a "global" module that I could include in my
application for some shared code between them. I''ve been making
several camping apps and wanted them all to share a helper/partial
that contained the navigation.
I ran into a lot of difficulty when trying to include it, the primary
problem being "methodUndefined" errors. I did finally get it to