On Wed, Sep 21, 2011 at 10:23 AM, Keith Raymond <[email protected]> wrote:
> Thanks for the replies!
>
> I looked into the el_finder, but this is using jQuery and I'm building
> this out in prototype.  If I use that gem would that add any real bloat
> to my application?  I have always been weary of having too many calls to
> javascript files and having two libraries loading seems wrongish...
I don't think you would add any bloat, since you can use non-conflict
mode, but you will have to load both frameworks which is overkill and
kinda wrong.

>
> I tried creating a route for uploading.  I simply created a 'match
> "/upload" => controller#action, :via => :post'  But this is causing all
> kinds of issues with Devise gem that is handling my login/out.  Every
> time I click 'send to server' it logs me out of my application and
> doesn't even hit my :action that it is supposed to be getting to.
>
> Any thoughts?  Again thank you both for helping me thus far.
This might be because of a before_filter that Devise must be adding to
require authentication.
I don't use Devise, so I can't tell for sure, it's just a thought.

Hope it helps.

-- 
Leonardo Mateo.
There's no place like ~

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to