[Rails] Re: script/dbconsole

2008-11-25 Thread Duilio Ruggiero
> > script/console > Loading development environment (Rails 2.1.1) modify RAILS_GEM_VERSION in config/environment.rb RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION then execute: rake rails:update I hope this help. Duilio R

[Rails] Re: Accessing a file with normal Ruby IO fails. Security is

2008-11-22 Thread Duilio Ruggiero
Duilio Ruggiero wrote: > RichardOnRails wrote: >> Hi, >> >> I'm developing a small Rails 2.2.0 app. I have a slightly modified >> scaffold-generated file, >> PayrollSys\app\controllers\cvs_items_controller.rb, as follows: >> >> class Cvs

[Rails] Re: Accessing a file with normal Ruby IO fails. Security is

2008-11-22 Thread Duilio Ruggiero
f get_csv_filenames_attributes csv_data_dir = File.expand_path(File.dirname(__FILE__) + "../../../public/data/csv/") logger.info "==> csv_data_dir: #{csv_data_dir}" #print the dir so you can check if it is correct values = [] Find.find(csv_data_dir) do |item|

[Rails] Re: rss feed is not detected in firefox ?

2008-11-18 Thread Duilio Ruggiero
The document tree is shown below." > > > any idea ? An rss feed IS only XML (if you don't apply a style sheet) There is a built-in style sheet for displaying feeds (that don't have a style sheet specified) in IE, Safari and the last version of Firefox (probably you are usi