NoMethodError

Why, when I am trying to manually assign permalinks, would I get this
from the ruby console:

s.update_attribute :permalink, 'my-shiny-weblog'
NoMethodError: undefined method `permalink=' for #<Story:0x32361c8>
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/
active_record/base.rb:1858:in `method_missing'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/
active_record/validations.rb:772:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/
active_record/validations.rb:772:in `update_attribute'
        from (irb):54

Why, when I am trying to manually assign permalinks, would I get this
from the ruby console:

If you don't have a permalink field in your db, yes.

Pat

p.s. Actually you get that any time you don't have a permalink= method
(just like it says). Rails just happens to create that method for you
based on your attributes

That means that your @story variable is nil. Did you set it in your
controller? Something like:

@story = Story.find params[:id]

Pat