2013-04-10から1日間の記事一覧

RailsでのBDD

まずはRSpec。ここが良かった。 http://jp.rubyist.net/magazine/?0035-RSpecInPractice で、RailsでRSpec使う際はrspec-railsを使えとのこと。 http://rubydoc.info/gems/rspec-rails/frames RSpecでテストデータを扱う場合はfixtureを使うけど、Factory Gi…

ExtJS+Rails+Devise

やっぱりDeviseが情報おおいみたい。 ログイン後にセッション切れちゃってるんだけど問題 HTTPヘッダを設定しろと。 http://stackoverflow.com/questions/7952556/devise-session-ends-after-extjs-ajax-request ExtJS、Rails、Devise、TheRoleの組み合わせ …

Railsで使える認証ライブラリ

Devise https://github.com/plataformatec/devise 情報多い。事実上の標準っぽい AuthLogic https://github.com/binarylogic/authlogic Restful-Authentication https://github.com/technoweenie/restful-authentication Clearance https://github.com/thoug…