Ruby on Rails
Tuesday, October 1, 2013
lol. I meant, If i replace self.inventory.instance_write(: inventory_file_name, "#{:current_user}#{extension}") for
On Tuesday, October 1, 2013 5:21:03 PM UTC-4:30, Scott Ribe wrote:
-- self.inventory.instance_write(: inventory_file_name, "#{SecureRandom.hex(16)}#{extension}" )
the error disappears but, the file_name doesn't change. it seems to be saving as
:rails_root/tmp/uploaded_files/inventories/: basename_.:extension ignoring the self.inventory.instance_write( :inventory_file_name, "#{SecureRandom.hex(16)}#{ lineextension}" )
On Tuesday, October 1, 2013 5:21:03 PM UTC-4:30, Scott Ribe wrote:
On Oct 1, 2013, at 3:40 PM, Monserrat Foster <monse...@gmail.com> wrote:
> I think besides the obvious issue, it has to do bit
Well, no, it more likely has to do with the line of code pointed out in the error message ;-)
--
Scott Ribe
scott...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e603ada4-9a67-4c6f-a3ff-13ad9dda027c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment