I want actions not views.
- by Ben
Rails is doing my head in.
I'm trying now to put something together to pull screen scraped data from site X through to client Y via a ruby script on server Z
I don't want views, I just want the request to look like domain.com/action/method
Inside routes.rb I have:
match ':controller(/:action(/:id(.:format)))'
But it still won't work. I just get ActionView::MissingTemplate in the log.
Achtung!
If I deliberately put a faulty method in that subsequently calls render - the log file indicates the method executed badly, so I don't think it's something wrong with the "action" controller.