Displaying 4 results from an estimated 4 matches for "jimneath".
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All,
Someone reccomended using paperclip as a way to easily upload photos.
Basically I want a quick and easy solution to allow users to add a
profile picture.
Anyway - I have followed the tutorial on here:
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/
I can add a file, but there isnt anywhere to upload it.
I have followed the above tutorial word for word, but i dont get it.
It says i need do nothing with the controller, so I guessed this shuld
work.
Any reason why the upload button is not vis...
2008 Jun 19
2
any news about swfupload & sessions?
Hi all,
I''m up to rewrite my swfupload code as a plugin (as far as possible).
My actual solution to the old problem with session handling and flash
was to ignore it, send an upload_request to the server, get back some
secret code and then upload the file to an action where session/
authentication
is disabled.
Works fine so far, but the normal way would be better.
There are many
2009 May 20
2
prototype.js insert issue
Hi,
I am trying to use the following lines in my RJS and have a problem
page.insert_html :bottom,:list,"<ul>"
#some conditions checks
page.insert_html :bottom,:list,"<li>Hello item</li>"
#some more code to add <li>s
page.insert_html :bottom,:list,"</ul>"
The problem I am having is the first line <<page.insert_html
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...am trying to use the paperclip plugin in my rails app to upload images
for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for
project specific purposes.
I am referring to the following tutorials for this :-
1. http://railscasts.com/episodes/134-paperclip?view=comments
2.
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I did a git clone on the paperclip plugin via:-
https://github.com/thoughtbot/paperclip , but the command like `ruby
script/generate paperclip group_post photo` didn''t generate a migration
for it. I then created a migration for the sa...