Controllers names in Rails routes
Posted on March 23, 2007 - Filed Under RubyOnRails | 1 Comment
Today I was stuck for a while over simple issue. After I wrote bunch of simple changes to code I’ve got following error in log/developmnent.log (remember Atomic Coding could help to find out earlier): NoMethodError (undefined method `camelize’ for :account:Symbol): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1284:in `recognize’ In fact I was changing conf/routes.rb. After a while I discovered problem with: [...]
Popularity: 3% [?]
Read More..>>Maintenance pains
Posted on March 22, 2007 - Filed Under RubyOnRails, run-n-share | 1 Comment
Write web application is no problem – keep it live through changing environment it is real challenge. I have left Run-N-Share for a long time without any updates. Now I want to publish some new features from my development branch. But first I wanted to update code to work with current edge Rails. And troubles [...]
Popularity: 4% [?]
Read More..>>Me, Windows and Ruby
Posted on March 20, 2007 - Filed Under Ruby, RubyOnRails | 2 Comments
As my primary development environment I use: FreeBSD (VMWare Player or real host) JOE as editor in terminal via PuTTY Firefox and Firebug from client side I was again asked why not some IDE on Windows, since I’m working on Windows based laptop anyway. Well… I thought I would give IDE a chance… No, I [...]
Popularity: 3% [?]
Read More..>>Hurrahhh! breakpoints reactivated
Posted on March 19, 2007 - Filed Under Links, Ruby, RubyOnRails | Leave a Comment
Rails framework offers breakpoints in application. Unfortunately, to all developers from some time they don’t work, since they relay on ruby-breakpoint library, which is not maintained anymore. However there is available replace: ruby-debug. So go to Data Noise for usage instructions. Works for me (however I had some quirks, which have suddenly disappeared, I won’t [...]
Popularity: 3% [?]
Read More..>>Changing DB engine – Rails way
Posted on March 14, 2007 - Filed Under Ruby, RubyOnRails | Leave a Comment
Ruby on Rails is quite DB independent. At least as long You don’t use specific SQL dialect. So changing DB engine shouldn’t be a problem, right? Yes, as long we don’t talk about data itself. I have changed engine in one application – from MySQL to sqlite. Why such change? Application will be distributed and [...]
Popularity: 3% [?]
Read More..>> « go back — keep looking »

