Hi Cappers,
When i try to render an erb string i got this exception:
* executing `render_test'
/usr/lib/ruby/gems/1.8/gems/capistrano-2.1.0/lib/capistrano/
configuration/variables.rb:122:in `method_missing': undefined method
`render' for #<Capistrano::Configuration:0xb78023cc> (NoMethodError)
from ./Capfile:6:in `load'
...
I cannot find render method/task in capistrano-2.1.0.
Is this task removed from capsitrano?
I can use ERB, but it would be more elegant with render.
This is my Capfile in a brand new, capified rails app:
...
task :render_test do
render 'this_string'
end
thanks,
Balázs
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---