Forum: Ruby on Rails I need support it is urgent

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
railsrao (Guest)
on 2009-05-26 17:26
(Received via mailing list)
Hi every one
I need help , i have a application of http://www.projectlaika.org/
i need to store a xls file extension please provide how to do make a
list of steps if possible and i hope to get reply as soon as possible.
Thanks
team
BenH (Guest)
on 2009-05-27 01:25
(Received via mailing list)
filemodel.extension = File.extname("/some/path/myfile.xls") # output
is ".xls"

Do you mean instead that you would like to store an xls file? If so
check out acts_as_attachment, attachment_fu or file_column plugins.

Ben
This topic is locked and can not be replied to.