Probably you need to add a corresponding route + controller action to
handle the download requests. I wrote a tutorial a while back on this:
http://patshaughnessy.net/2009/5/16/paperclip-sample-app-part-2-downloading-files-through-a-controller
- pat
http://patshaughnessy.net
On Feb 15, 10:10 pm
Maybe try form_for instead of form_remote_tag?
I wrote a gem that creates some scaffolding code customized for the
auto complete that might help you get a form working in your app
quickly; see: http://patshaughnessy.net/2009/10/1/auto_complete-scaffolding
Later you could adapt the scaffolding code
Hi Patrick,
I had the same idea a few months ago, and wrote a gem called “View
Mapper” which does exactly this. See: http://patshaughnessy.net/view_mapper
or: http://github.com/patshaughnessy/view_mapper
The idea is that View Mapper will generate different variations of
scaffolding code (called “
Hello... +1 for paperclip or attachment_fu; they will make this a lot
easier for you.
Earlier this year I wrote a detailed tutorial on how to setup and use
Paperclip in a new Rails application. Coincidentally, my example was
to attach photos to users and then to show different size photos. At
the
Hi... sorry about those unhelpful replies; we were all beginners once
too :(
I wrote a paperclip tutorial that might help; I tried to write out
step by step instructions:
http://patshaughnessy.net/2009/4/30/paperclip-sample-app
I've also been working on extending the scaffolding feature Rails
pr
Hi... you might want to take a look at:
http://github.com/alloy/complex-form-examples
And: http://github.com/ryanb/complex-form-examples
Both of these are interesting sample apps loaded with good coding
ideas. I don't believe either of them uses AJAX or link_to_remote
exactly the way you intende
block provided.
On Oct 30, 9:45 am, Pat Shaughnessy wrote:
> Hey John,
>
> Last week I wrote this code to allow you to easily create models/
> records using FasterCSV... it doesn't directly answer your question,
> but it might help or at least give you some ideas:http://pastie.
Hey John,
Last week I wrote this code to allow you to easily create models/
records using FasterCSV... it doesn't directly answer your question,
but it might help or at least give you some ideas:
http://pastie.org/676681
If it looks this would be useful to you or others I can post it on
github;
7; for GamesController:Class
> in my controller.
>
> I'm using Ruby 1.8.6, Rails 2.3.3
>
> According to everyone's responses and what I've found searching for
> answers, this should work but
> it doesn't in my environment...
>
> thanks for any input,
Hi... I've been working on a gem recently that allows you to generate
scaffolding for auto_complete behavior, among other things. The idea
was to make it easier to get started with using a plugin like
auto_complete.
See: http://patshaughnessy.net/2009/10/1/auto_complete-scaffolding
Based on your
This doesn’t answer your question directly, but you might want to read
about how to obtain Oracle debug output in your Rails app/log file:
http://www.alexrothenberg.com/2009/08/how-to-capture-oracles-dbmsoutput-in.html
I believe Alex’s patch was recently added to the Oracle Enhanced
Adapter... i
Hi there... I wrote a tutorial about uploading files in a Rails app
using a plugin called "Paperclip" - you might want to try that
instead:
http://patshaughnessy.net/2009/4/30/paperclip-sample-app
- pat
On Oct 16, 6:23 pm, Engadiner Haus
wrote:
> Hello. I am comp. new in RoR and i have problem
I ran into the same problem a while back and forked the plugin to fix
it; see:
http://patshaughnessy.net/repeated_auto_complete
Hope this helps, - pat
On Jun 2, 1:51 pm, Andy wrote:
> Any ideas here?
>
> On May 28, 1:49 pm, Andy wrote:
>
> > I'm trying to use an autocomplete twice on the same
13 matches
Mail list logo