ライルス記録

1693 ワード

1,以下の文章の中でbortというLIlsの応用を見つけました。
http://www.railsinside.com/elsewhere/100-7-barebones-rails-apps-to-kick-start-your-development-process.html
  bortをダウンロードして、netbeans 6.5に置いて、主な項目を設定して、エラーを報告して、初めてcapistranoのエラーを報告して、私はenvironment.rbの中でそのいくつかのconfig.gemを遮りました。続報する
ロード.missingconstant':
uninitialized constant Authorzation:AasmRoles:AASM(NameError)を照らしています。http://rails_security.lighthouse.com/project/1532/tickets/10-uninitialized-constant-authorization-aasmroles-aasm-nameerrorこのリンクの中のやり方
appication.rbのApplication Controllerリガでrequire'aasm'の一行がスタートします。ruby db/migrateを実行して、再起動したら、トップページに進むことができますが、登録したユーザーが提出した後に報告します。
Called id for nil,which would mistakenly be 4--if You reallywanted the id of nil, use object_id
これはapp/view/users/new.httml.erbで発生します。
しばらくここに来ます。以上はよく分かりません。まず記録を作ります。
2,これは2.2.2に基づく例です。starterといいます。
http://github.com/josevalim/starter/tree/master/app
githubで2.2.2を検索したり、code searchでRAILS_を検索することができます。GEMVERION='2.2.2'は、2.2.2に基づく例を探しています。
http://github.com/brainopia/shop/tree/master
http://github.com/ccjr/play-eoj/tree/master
http://github.com/Radar/rboard/tree/master
http://github.com/rbarazi/simple_ブログ/tree/マスター
http://github.com/csiszarattila/webshop/tree/master
http://github.com/bushymark/depot/tree/master
starterを実行していますが、報告します。
  Missing these required gems:
  win 32 consone
  ruby-debug
  ruby-prof
そして
starter>rake gems:install
(in c:/starter)
rake aboted
no such file to load--spec/rake/spectask
C:/starter/rakefile:10
(See full trace by running task with-trace)