I met the same problem and solved it.
> When I run my functional tests, they throw an error with the following
> message:
>
> ActionView::TemplateError: Missing template /_captcha.erb in view path
> app/views:test/vendor/plugins/brain_buster/views/brain_busters
> On line #23 of app/views/conta
Sorry, I didn't mean to confuse. I'd say the first error…
>>> ActionView::TemplateError: Missing template /_captcha.erb in view
>>> path
>>> app/views:test/vendor/plugins/brain_buster/views/brain_busters
…is still the prominent one. I tried your suggestion and am getting
the same error. Do you h
My original suggestion was based on the error message:
>>> ActionView::TemplateError: Missing template /_captcha.erb in view
>>> path
>>> app/views:test/vendor/plugins/brain_buster/views/brain_busters
The partial you called out was
render :partial => '/captcha'
Your new error is clear
Just to experiment, I used this instead:
<%= render :partial => "#{RAILS_ROOT}/vendor/plugins/brain_buster/
views/brain_busters/captcha.html.erb" unless action_name == 'edit' %>
and now I get the following error:
ActionView::TemplateError: Called id for nil, which would mistakenly
be 4 -- if yo
Thanks, but unfortunately, that had no affect…have you ever run into
this kind of thing before?
On Jun 7, 2:27 pm, Rob Biedenharn wrote:
> Take off the slash?
>
> <%= render :partial => 'captcha' unless action_name == 'edit' %>
>
> -Rob
>
> Rob Biedenharn http://agileconsultingllc.co
Take off the slash?
<%= render :partial => 'captcha' unless action_name == 'edit' %>
-Rob
Rob Biedenharn http://agileconsultingllc.com
r...@agileconsultingllc.com
On Jun 7, 2009, at 12:22 AM, Matt W. wrote:
>
> When I run my functional tests, they throw an error with the following
6 matches
Mail list logo