【Ruby】Ruby on Rails Part7at PHP【Ruby】Ruby on Rails Part7 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト80:nobodyさん 09/05/17 02:22:44 >>79 なるほど、了解。自分が知らない重大なことかと思ったよ。 81:nobodyさん 09/05/17 15:05:25 >>72 なるほどやっぱりそうなんですね。 というか、railsのソース見てて思ったんですが Rubygemsでも特定の配置にしたら、railsのgeneratorとして読み込んでくれるんですね。 利用者としてはこっちの方が簡単だ。 ちゃんと動くの確認したら、gems化の要望出しときます…。 82:nobodyさん 09/05/17 15:13:57 ところでアプリケーションテンプレート使ってる? 何となくどんなの使ってるかしりたいんで皿島元々 plugin 'restful-authentication', :git => 'git://github.com/technoweenie/restful-authentication.git' plugin 'forgot_password', :git => 'git://github.com/greenisus/forgot_password.git' plugin 'role_requirement', :git => 'git://github.com/timcharper/role_requirement.git' gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com' gem 'rubyist-aasm', :lib => 'aasm', :source => 'http://gems.github.com' gem "capistrano-ext", :lib => "capistrano" rake("gems:install") generate("authenticated", "--include-activation", "--aasm", "user", "session") rake("db:migrate") generate(:controller, 'welcome', 'index') route "map.root :controller => 'welcome'" run "rm public/index.html" run "rm public/images/rails.png" file ".gitignore", <<-CODE .DS_Store log/*.log tmp/**/* db/*.sqlite3 doc/api doc/app CODE run "touch log/.gitignore" run "touch tmp/.gitignore" git :init git :add => "." git :commit => "-a -m 'Initial commit'" 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch