Displaying 3 results from an estimated 3 matches for "uploadimage".
Did you mean:
upload_image
2006 Jun 17
4
ruby script/console fails to launch
Can someone please explain why I am see the following:
<snip>
rails/uploadimage> ruby script/console
Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file
to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules''
fr...
2011 Mar 12
1
Black edges of the buttons and toolbars
how i can fix it?
[Image: http://www.uploadimage.com.ar/images/38058064366679356935.png ]
[Image: http://www.uploadimage.com.ar/images/54354554174418943780.png ]
2006 Jul 17
2
Trouble with has_one
...cord::Base
belongs_to :blog
has_many :images
has_one :header
end
class Header < ActiveRecord::Base
file_column :image_path
end
class Image < ActiveRecord::Base
belongs_to :post
file_column :image_path
end
The controller targets I have used:
-----------------------------------
def uploadImage
Post.find(params[:id]).images.create(params[:image])
@post = Post.find(params[:id])
flash[:notice] = "Image was successfully uploaded"
redirect_to :action => ''showBlogPosts'', :id => @post.blog_id
end
def uploadHeaderImage
Post.find(params[:...