This manual describes common security problems in web applications and how to avoid them with Rails. After reading this guide, you will know: All countermeasures that are highlighted. The concept of sessions in Rails, what to put in there and popular attack methods. How just visiting a site can be a security problem (with CSRF). What you have to pay attention to when working with files or providin
gem入れる $ gem install ruby-openid $ gem install openid_login_generator $ gem install ruby-yadis $ gem list --local (略) openid_login_generator (0.1) rails (2.0.2) rake (0.8.1) ruby-openid (2.0.3) ruby-yadis (0.3.4) 新しいRailsプロジェクト作る $ rails openidtest -d mysql (略) $ cd openidtest $ rake db:create で、プロジェクトできてdevelopmentのDBも作られる generate $ ./script/generate openid_login account create lib/openid_login_
RailsからPostgreSQLへ接続してみる PostgreSQLのセットアップが完了したので、Ruby on Railsとの接続確立を確認します。 参考ページ Postgresql on Rails and OSX (Potential Energy) ■RailsにPostgreSQL用のアダプタを与える アダプタは2種類あるようです。どちらもgemコマンドでインストールできます。 違いは、わかりません。。1つ目の方法は、引数のパスを環境に合わせて変更する必要があります。 gem install postgres -- --with-pgsql-include-dir=/usr/local/pgsql/include --with-pgsql-lib-dir=/usr/local/pgsql/lib gem install postgres-pr 結果ですが、1つ目の方法はパスをさ
Practices your development team needs to adhere by Discussion & Votes at: Digg, Reddit, YC Hacker News, DZone, Delicious In my experience, Ruby and Ruby on Rails has been one of the most difficult language/framework combinations to truly master. For someone who grew up on C, C++ & Java in the majority of their training, Ruby has hugely different (and better!) ways of OO design, and the Rails fram
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く