Displaying 2 results from an estimated 2 matches for "contactslists".
Did you mean:
contact_lists
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
...loads''].read) }
end
end
when i tried to upload a file its showing errors as
TypeError in ListsController#save_imports
can''t convert Tempfile into String
can anyone help.is there any fault in this method?actually i wanted
toupload this files into a table callled contactslists or to move to
a folder in my application pls provide help
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3Mboc...
2006 Feb 08
1
Weird validation issue
Hi,
I''m having a weird validation issue. Validation isn''t working for
certain attributes and, for some reason, it''s also affecting things
outside of validation.
For campers on certain camp types, we require some information about
their school. I tried to validate the information this way:
validates_presence_of :school_type, :if => Proc.new { |c|
!c.booking.nil?