[12:50:00]<akov_> anyone know what the error "builder.rb:76:in `delete': can't convert Symbol into String (TypeError)" popping up when i try to scaffold anything in this project means? i scaffolded just fine in this project previously
[12:21:00]<akov_> im getting a "/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/builder.rb:76:in `delete': can't convert Symbol into String (TypeError)" when i try to scaffold anything, whats the problem?
[20:27:00]<akov_> well yeah but it looks clunky compared to <% title @title %>
[20:25:00]<akov_> im watching a screencast thats using a title method to set the title of a page, but rails 2.1 is telling me there's no such method, is it no longer in 2.1?
[12:42:00]<akov_>http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html - is this tutorial too out of date now? or is it still the best place to start?
[20:29:00]<Radar>akov_: you may be interested to know that your layout is rendered AFTER your view, so calling it all in the view should work <%@title = "blah" %>
[20:26:00]<Radar>akov_: easy way to do that is to use the instance variable title and then do <title><%= @title %></title> in your layout
[22:04:00]<iHate>akov_: and it's not "normal" in production. even if you're running mongrel all you have to do is restart the mongrels - not apache with it.
[23:57:00]<djones_>akov_: lots of ways. dunno if one is really preferred over another. you could load it as an initializer, or an admin variable like Radar said.