I think it should be simple but not working for me.
class OneController < ApplicationController
render :controller => ‘two’, :action => ‘first’
I want it to render using “/two/first.html.erb” but it still uses
Is :controller key not acceptable?
Actually, I’m practicing restful resources.
Models are like this: Message has many comments.
I want new comment form to be in the message/show page instead of being
separated on its own.
If the comment is not validated in create action, it’s supposed to
But it didn’t work as I expected.
Is it not allowed? If so, what’s the usual solution?