Topic: Handler rjs missing? ActionView::MissingTemplate
Hi,
i'm new at this.. and i having some problems to get ajax working
i want to run this template file create.js.rjs with this:
page.replace_html('cart', render(@cart))But i get these error:
ActionView::MissingTemplate (Missing template line_items/create, application/create with {:handlers=>[:erb, :builder, :coffee], :formats=>[:js, :html], :locale=>[:en, :en]}. Searched in:
* "/Users/joaomartins/Documents/MAC/Tese/Uteis/Examples/Rails/work/bookex/app/views"
I think the problem is because i dnt have the handler :rjs.. true?
How can i get it?
Thanks