Displaying 4 results from an estimated 4 matches for "fird".
Did you mean:
find
2006 Jul 26
4
Upload File
I got this error:
NoMethodError in PictureController#new
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.uploaded_file=
and the line code is here:
@picture.uploaded_file = @params[''picture_file'']
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
2
The error occured while evaluating nil.gsub!
#{RAILS_ROOT}/app/controllers/start_controller.rb:13:in `create''
---
class StartController < ApplicationController
def create
#------------Remove Tag---------------------------
@name = params[:name]
@file = params[:filepath]
@file = @file.gsub!(/^.*(\\|\/)/, '''') # replace html tags with blank
post = Post.save(@params["removetag"])
end
end
--
2006 Aug 02
1
Browse data from database
Hi all! I want to know how we can browse all data in the database and
list it in the browser?
Thanks in advance
--
Posted via http://www.ruby-forum.com/.
2006 Aug 01
0
Load data to Database
i got problem to load data from file to database. is it because my sql
command?
---
def uploadarc
@results = $m.query("LOAD DATA LOCAL INFILE
''C:/InstantRails/rails_apps/cron/sample.txt'' INTO TABLE archives FIELDS
TERMINATED BY ''\n'' ENCLOSED BY ''\"'' LINES TERMINATED BY ''\n\n''")
flash[:notice]="