search for: show_routes

Displaying 3 results from an estimated 3 matches for "show_routes".

2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2007 Jul 19
3
Merb::Controller#url Usage
...age of Merb::Controller#url. When I have nested resources, requesting the new action works differently than I expected. I was wondering what the intended usage is. For example: Say I have r.resources :articles do |article| article.resources :article_attachments end irb(main):002:0> show_routes [:articles, "/articles"] [:article_attachments, "/articles/:article_id/article_attachments"] [:article_attachment, "/articles/:article_id/article_attachments/:id"] [:edit_article_attachment, "/articles/:article_id/article_attachments/:id/edit"] [:new_article...
2006 Sep 12
2
Generate JS from RoR - strange delay with send_data
Hi! I need to generate some JS from Ruby. This is no AJAX related stuff so RJS templates are not help to me. Also I want to not mix JS with HTML, so putting JS in .rhtml templates is no go for me. Currently I made some action in controller, prepared JS code and I''m sending it via send_data as ''text/javascript''. In .rhtml templates I use <script> tag with src