ror=>merb

I will just write down my most recent gotchas here, hoping that others do the same and someone organizes once patterns emerge :)

Redirects

redirect_to in RoR becomes redirect in Merb, redirect in Merb requires a String, not a Hash. To solve this, use url(...). Example:


redirect url(:controller => 'comment', :action => 'new')

Edit Page | History | Version: