昨年 に続いて今年も、 東京と関東のRubyの忘年会2007 が行われるようです。

Rubyistの皆さん、今年も一年間お疲れさまでした。

RubyKaigi2007での感動的スピーチがまだまだ記憶に新しい今日この頃ですが、早いもので師走を迎え、今年も残すところあと一ヶ月となりました。

ということで、今年の振り返りと来年に向けた英気を養う場として忘年会を行いたいと思います。皆様お誘い合わせのうえ、年忘れ出来る人も出来ない人も(出来ないけど忘れたい人も)奮ってご参加くださいませ。

早速参加申請。もろはしさん、幹事お疲れ様です。

posted by Png genki on Mon 3 Dec 2007 at 12:27

TAG_rel_2-0-0_RC2をfreezeしたプロジェクトでDBを作成しようとしたところ、下記のエラーが。

   1  $ sudo rake db:create RAILS_ENV='production'
   2  (in /usr/local/foo)
   3  rake aborted!
   4  undefined method `whiny_protected_attributes=' for ActiveRecord::Base:Class
   5  
   6  (See full trace by running task with --trace)

同じことを言っている人がrubyonrails.comのコメントにもいて、ちゃんとJeremy Kemperが返事を書いています。
http://documentation.rubyonrails.com/2007/11/9/rails-2-0-release-candidate-1#comment-17936

delete the whiny_protected_attributes setting from your environement. It was in the preview release but is not in the release candidate, so if you generated an app with the preview and are now upgrading it, you’ll need to remove that line.

というわけでconfig/environments/production.rb内で下記をコメントアウトしました。

   1  # Disable raising errors when mass-assigning to a protected attribute
   2  # config.active_record.whiny_protected_attributes = false

すんなり解決。

posted by Png satoko on Mon 3 Dec 2007 at 11:23
Contents
東京と関東のRubyの忘年会
undefined method `whiny_protected_attributes=' for ActiveRecord::Base:Class
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ