search for: nanorails

Displaying 8 results from an estimated 8 matches for "nanorails".

2007 Oct 23
2
to_json inconsistency?
...prototype_helper.rb:813:in `call'' vendor/rails/actionpack/lib/action_view/helpers/ prototype_helper.rb:808:in `method_missing'' ... Adding the options parameter no longer fails. def to_json(options = nil) self end Cheers, Pascal. -- http://blog.nanorails.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list, lets make a long list on Rails cheatsheet.... ;) 1) 2) 3) 4) . . . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
2006 Aug 15
4
Cookies and Ruby???
When someone comments on my site, I would like to store the user''s name as a cookie, and display it the next time they return. I really don''t know how to do this. Does this use the cgi library? As most things with ruby, I would imagine it to be quite simple... could anyone post a code snippet as to how this would work??? Thanks... -- Posted via
2007 Mar 22
2
Proposal for Ruby on Rails for the SOC.
...imilar behavior when meeting a breakpoint, except for the HTML page which should be different. 7) The HTML pages should give the developer useful info on where to direct his text editor (what file and line, for breakpoints, as well as errors). Some of this has been done with ruby-debug http://blog.nanorails.com/articles/2006/07/14/a-better-rails-debugger-ruby-debug but it would be great if this were integrated so that you could get this kind of behavior each time your application hits an error. It could use ruby-debug or the standard debug.rb, since I''m not really that aware of all the detail...
2006 Aug 02
1
capistrano+mongrel struggles
...mongrel-apache-capistrano-and-you/ I had a devil of a time getting cap to find the mongrel_rails command (which is in /opt/local/bin) on the server. I set the path in the .profile. I set it in /etc/profile. I rebooted the server. I set the ~/.ssh/environment as recommended here: http://blog.nanorails.com/articles/2006/07/11/installing-rails-on-mac-os-x-tiger to the following: PATH=/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin Still nothing. I even went so far as to hardcode the path to /opt/local/bin/mongrel_rails everywhere I could find...
2007 Sep 19
49
plugin dependencies
Hello all, The topic of plugin dependencies has come up before and it doesn''t seem to have been addressed by core or core doesn''t seem to think it''s an issue. I''ve looked at the current edge code and don''t see anything new, so if I''ve missed something *please* let me know. The following article makes mention of a require_plugin
2006 Jul 31
20
RADRAILS installation guide
hi all is there eany installation guide that explais how to set up RadRails and how to create a RoR project with eclipse? thanks -- Posted via http://www.ruby-forum.com/.
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client belongs_to entity. Entity has attributes name and legal_name. Entity also has an unique index on (lower(name)). The pKey for both is the conventional Rails id. Client has a fKey constraint on entity_id and is indexed in entity_id. In controllers/clients_controller.rb I have: # GET /clients/new # GET /clients/new.xml