Displaying 1 result from an estimated 1 matches for "hmmcontrol".
Did you mean:
memcontrol
2006 Oct 26
2
Mocha and SimplyHelpful
...lugin and the Rails
SimplyHelpful plugin.
For some reason the dom_id method from SimplyHelpful is not being
found in my views when the Mocha plugin is installed. The dom_id
method if used in the controller works properly.
This is the error I get when running the tests:
1) Error:
test_truth(HmmControllerTest):
ActionView::TemplateError: undefined method `dom_id'' for #<#<Class:
0x3a529ec>:0x3a529c4>
On line #2 of app/views/hmm/index.rhtml
1: <%= @car_dom_id %>
2: <%= dom_id(@car) %>
Here''s my controller:
class HmmController < Applic...