I have some logic that’s part of a Rails app that I’d like to separate. A 
Sinatra app seems mostly like it might work. The thing just provides a pretty 
simple API.

I can write the API pretty nicely in Sinatra, but the problem is 
authentication. My Rails app uses authlogic for authentication. And it’s not at 
all clear to me that it can be easily made to work nicely with Sinatra.

The Sinatra app will be sharing the back end with the Rails app. I’d like it to 
be able to run either within the same Rack stack as Rails, or as a separate 
application.

I guess it wouldn’t be terribly difficult to work out what sort of hash 
authlogic uses, and just replicate that logic, but that’s inelegant.

Thoughts?

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to