Hey,
in my current project I need to provide a city name as a prefix in
*most* of urls in my app, which acts as a scope for permalinks. I'd
like to avoid manually passing city name to almost every link_to and
redirect_to if possible.
Would it be possible to add to Rails 2.3/3.0 routing system som
I can confirm that this is true. The `recognize_path` lookup failed not
because it couldn't find '/nested_application', but because it found it and
failed on `route.app.is_a?(Dispatcher)` lookup. `route.app`
returns Sinatra::ShowExceptions, which is the first Sinatra middleware on
the stack that's
Moneta already supports Redis (and a bunch of other stores, too).
ActiveSupport's cache could be based on it, rather than duplicating a
lot of work here.
http://github.com/wycats/moneta
On Apr 23, 5:27 am, Ken Collins wrote:
> This is a great topic and I just wanted to add that possibly a Redi
Hello,
I wish to route a sinatra application in my Rails 3 app. As said by
Yehuda, it should be possible.
http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/
However I see the route isn't recognized and I get
ActionController::RoutingError problems.
It works well with simple rack apps
On Apr 20, 9:50 pm, Norman Clarke wrote:
>
> Definitely looks like a cool idea for a plugin though. You should keep
> working on it.
I've got an alternate take on the concept up at
http://github.com/ernie/meta_where/tree/autojoin now.
I think I like this one better, and it seems to work OK with
This is a great topic and I just wanted to add that possibly a RedisStore might
be good in core too. I was thinking of finding some time next week and doing a
ActiveSupport::Cache::RedisStore that passes some tests and conforms to the
LocalStore strategy too. I have seen this:
http://github.co