Sure man, here's what I did:
1) Install everything
git clone git://
github.com/dima/pomodo_on_rails.git
cd pomodo_on_rails
git submodule init
git submodule update
# install the latest rubyist-aasm as a plugin
script/plugin install git://
github.com/rubyist/aasm.git
# install gmail plugin to use the mailer
2) Add "require 'aasm'" to the application_controller.rb
3)
config.gem "restfulx", :version => "1.2.2"
config.gem "couchrest"
# for Gmail
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :smtp
4) Add this to the bottom of the "session_store.rb" file (not the
"session_store_flash.rb" file):
ActionController::Dispatcher.middleware.insert_before
(ActionController::Session::CookieStore, FlashSessionCookieMiddleware,
ActionController::Base.session_options[:key])
5) for the mailer:
http://github.com/openrain/action_mailer_tls/tree/master
6) Only start the application from the browser, not Flex Builder
That 4th step I think did it. I'm also using everything with
CouchRest and json, so that may have changed things. I'll post up an
example of that in a few weeks.
Best,
Lance
On Jun 25, 9:19 am, tom <
tomabr...@gmail.com> wrote:
> viatropos,
>
> can u light up the steps to get authentication running with restfulx?
> thx
>