Displaying 20 results from an estimated 20000 matches similar to: "Attachment fu file path"
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original
scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes
become their own unique images.. by way of simulating an upload from
the controller using attachment fu.. can''t quite figure out the
specific method in fu that would allow me to do this.. I''m so near the
edge right
2008 Nov 26
0
Best Configuration for attachment fu (images)
Hello,
Well I''ll like to know which is the best configuration or the most
used (standard) when uploading images via attachment fu (or related).
In particular I''ll like to know which is the best resizing option and
the best "thumbnail" size for large images. This is my current
configuration. When I resize strictly to 640x480 the image loses its
original ratio.
2009 Mar 03
6
Validation - set focus
hi,
Is there any way to set focus in a particular field, after validation in
rails??
or we have to use only javascript.
For example.,
validates_presence_of :username
(assume there is no username given)
after validation, how can i set focus in that particular username
textbox.
is there any way in rails or should i use javascript.
Thanks.
--------
my ror blog
http://www.srikanthjeeva.blogspot.com
2009 Feb 21
1
undefined method user_id
Basically, Im trying to add comments to photos that other users have
uploaded. And Ive encountered an error:
NoMethodError in CommentsController#create
undefined method `user_id='' for #<Comment:0x4768cd0>
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1857:in
`method_missing''
2009 Feb 19
1
ActiveRecord-2.2.2, association preloading, joins and order parameter weirdness
Hello RoR Groupies,
I''m seeing some weird ActiveRecord-2.2.2 SQL generation when doing
eager association/preloading and using joins and ordering by said
join table.
Here''s an example:
class Photo < ActiveRecord::Base
end
class User < ActiveRecord::Base
has_one :headshot, :class_name => "Photo"
end
class Mail < ActiveRecord::Base
belongs_to :user
end
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
Had this error when trying to add comments to another user''s photo.
ActiveRecord::StatementInvalid in User photosController#show
Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT
photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS
t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0....
I did create a user_id
2009 Apr 28
0
strange path errors
Hi all,
I am suddenly getting path errors in my application where there were
none before. I have a user login that directs the user to their profile
page. I can login ok for some users, but others I am getting path errors
such that I cant log in e.g.
user_photo_url failed to generate from :controller=>"user_photos",
:user_id=>#<User id: 2, user_name:......
This path is in my
2007 Jul 22
3
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got
mini_magick installed, but everytime I try Mike Clark''s tutorial, I
get the error ''Size is not in the list''. I found some people fixed
this by putting a sleep statement in their controller, but this didn''t
work for me. Any help out there?
2012 Nov 12
0
srikanth@codeforce.com
[1]Click here to unsubscribe if you no longer wish to receive our emails
Dear Recruiter,
Let me present you with list of consultants currently available.
E-Mail me for below candidate details.
My Mail ID : srikanth at codeforce.com
Consultant Job Title Total Experience Current Location Availability Action
Atrayee Paul Sr. ETL Datastage Developer 7 years Detroit Metro Area
2007 Jun 11
0
Selenium RC Fu (plus js unit)
We''ve been threatening to open source this for a while, most recently
during Alex and Brian''s talk at Railsconf [1]. See the readme [2]
for more info, and the source/rdocs for all the gory details.
Feedback and contributions are very welcome.
Thanks,
pt.
[1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails
[2]
== Introduction
Welcome to
2007 Dec 11
14
Attachment-fu + Story Runner
Hi all,
I''m trying to run a Story Runner integration test that uploads a file
through Attachment-fu.
I''ve tried various ways of specifying the file data, from custom mocks:
class MockFile < Struct.new
(:original_filename, :read, :content_type); end
fdata = MockFile.new "test_upload.txt", "Test Upload", "text/plain"
to
2006 Mar 31
2
"Owning" a polymorphic
I''m playing around with RoR and I''m having trouble figuring out how to
describe a certain relationship. I''m building a social networking site
where you have users who can comment on other users, photos, videos, and
blogs. I''ve figured out how to have a comment belong to a user or media
item through a polymorphic relationships but I dont'' know how to
2010 May 28
0
dynamically generating subdomains using subdomain-fu
hi,
I am using subdomain-fu for creating subdomains . My doubt is how
can we give the subdomains in the etc/hosts ,when the sub-domains are
dynamicallybeing created.
Ex: i created a subdomain called "user1" and i specified this in etc/
hosts file.So eveery time i cant specify the subdomain which is being
created.So can i ovecome this problem.
--
You received this message because
2009 Jan 11
4
Large uploads with attchment-fu
Hi
I am trying to upload 30mb files with attachment-fu, these seem to
just hang. (works file for small image files)
I am using mongrel cluster and nginx...
Does anyone have any advice?
Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2012 Apr 20
0
[LLVMdev] def-use chains and use-def chains
Hi Duncan Sands,
I frankly don't know what a variable gets converted to (SSA register or
memory chunk). What I meant is, for example
I1: int i, j=10; I2: scanf("%d", &j); I3: i = j + 1;
Here I want to know whether the value of j in I1 reaches I3 or not.
Best Regards,
Srikanth Vaindam
you didn't define what you mean by a variable. LLVM has virtual registers
which
are
2006 Aug 11
1
Absolute path to public/images in rake task?
Hi all
I''m trying to create a rake task for the first time, so please be a bit
patient with me. ;-)
I''m coding a photo gallery. Every photo gallery''s photos are in its own
folder, and after an update I''d like to be able to synchronize the photo
files with the database (because every photo has its own Photo class
object). I''ve got so far:
# File
2006 Jul 21
1
help appreciated on acts_as_taggable issue
Hi,
I have added acts_as_taggable to one of my models called Picture, I then
try to pick up some tags through the following code:
user = User.find(session[:user_id])
photo = Picture.new (@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, but I''m finding that
2006 Jul 18
0
acts_as_taggable problem with saving tags.
Hi,
I have the following code:
user = User.find(session[:user_id])
photo = Picture.new(@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, I''m finding that my tags
table is not getting the tags saved for the above line in question (>>
... <<).
2006 Jul 20
0
acts_as_taggable
Hi,
I have added acts_as_taggable to one of my models called Picture, I then try
to pick up some tags through the following code:
user = User.find(session[:user_id])
photo = Picture.new(@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, but I''m finding that my
2013 Aug 06
0
[LLVMdev] I just signed “Shri. Manmohan Singh, Prime Minister - Government of India : Save RTI Act from Amendments ”
Hi,
I've just signed the following petition "Shri. Manmohan Singh, Prime Minister - Government of India : Save RTI Act from Amendments " and wanted to see if you could help by adding your name.
Our goal is to reach 15,000 signatures and we need more support. You can read more and sign the petition here: