Congratulations for the excellent book! I’m using Ubuntu and had to install curl using sudo apt-get install curl. Trying the command, at page 179 (paper version): curl http://localhost:3000/info/who_bought/3 I got a lot of messages starting with html code:Action Controller: Exception caught
…. NoMethodError in InfoController#who_bought … undefined method ‘orders’ … ‘method missing’ …. wow! a lot of them! Using ruby script/about, I get: Ruby version 1.8.7 RubyGems version 1.3.5 Rack version 1.0 Rails version 2.3.5 Active Record 2.3.5 Active Resource 2.3.5 Active Mailer 2.3.5 Active Support 2.3.5 Application root /home/luiz/work/depot Environment development Database adapter sqlite3
It seems I’m missing something! Could someone help me? Thank you very much!