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.
2380dcf3d9d0c57bcf7b1d4b7603e183?d=identicon&s=25 railsrao (Guest)
on 2009-05-26 15: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
B0f6756b62559d43213636dde11bb785?d=identicon&s=25 BenH (Guest)
on 2009-05-26 23: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.