Displaying 20 results from an estimated 4000 matches similar to: "Problem with ruby 1.8.4 One-Click Ruby Installer on windows"
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to
get it. I''m going to have a page where you can upload x amount of images at
once. Lets say 10 images need to be uploaded, all with a caption.
I''d like to have a browse button to choose the file, then the caption. Now,
if I put 10 of them in one form, fill them all out and submit, I get
2006 Mar 30
11
Illegal char \002? Need to restart Rails to see changes?
Hi all,
I''m developing an app on a home Windows computer and using
SVN/Capistrano to deploy to a Linux server. I''m encountering some
bizarre behavior that I think has something to do with Linux and Windows
text file types, but I''m not sure.
What''s happening is that, whenever I edit my view files and reload the
page in my local browser, I see errors saying
2006 Nov 24
6
Rails 1.2 RC1 problem
Hi
Have this helper method inside a sites_helper.rb module
def distritos
[
['0', 'Todos'],
['1', 'Aveiro'],
['2', 'Beja'],
['3', 'Braga'],
['4', 'Brangança'],
['5', 'Castelo Branco'],
['6', 'Coimbra'],
['7',
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
Hi folks,
There is a strange problem here, I''ve installed the latest version of
One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and
after that I''ve installed Rails 1.0.
No problem in setup process, but now, when I try run my rails application,
there are many strange things happening.
In one my application no CSS apply, looks like there is no CSS file, and
2006 Mar 20
3
Where does it come from?
Below every page in the browser i get:
"Loaded suite dispatch.cgi Started Finished in 0.000225 seconds. 0
tests, 0 assertions, 0 failures, 0 errors"
I''m not sure if i changed something or someone else did it, but now i
don''t know how to get rid of it. It has something to do with testing,
right? How to switch it off?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 14
3
How to save parent and child objects in a single action?
Hi!
I''m struggling with it for a week. I posted a few similar posts that
cleared up few things (thanks Mark!), but i still don''t know how to do
it properly.
What i''m trying to do is to create parent object and its many children
(images - i tried using file_column, but it''s a topic for another
post)using data from a single form.
I''ve got a working
2006 Mar 26
2
File_Column plugin causes strange errors on windows
I installed the File_Column plugin and setup my relationships.
create_table "screenshots", :force => true do |t|
t.column "image", :string, :limit => 255, :null => false
t.column "description", :text
t.column "created_on", :datetime, :null => false
t.column "item_id", :integer, :null => false
t.column
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2
When I change
"samples/text/unicode.rb" 's content:
require 'wx'
into
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
and run unicode.rb in this way:
ruby -Ku unicode.rb
I got the error message like this:
unicode.rb:119:
2006 Apr 10
3
File Upload Problems
following the instructions at
http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles, I am able
to upload to an explicit and existing directory (i.e.
c:\ror\app\public\images\photo.jpg). However, when I try to upload to
a folder that does not exist, say,
c:\ror\app\public\image\newfolder\photo.jpg, I get the following error:
Errno::ENOENT in Images#create
No such file or directory -
2006 Apr 08
5
Strange error ...
I''m getting a very strange error in a very vanilla Rails app setup:
compile error
./script/../config/../app/views/home/index.rhtml:1: parse error,
unexpected $, expecting kEND
_erbout = ''''; _erbout.concat " <div id=\"index_main\">\n"
... ?
Anyone know what this might be? I installed the Login Engine and the
error started. I''m using
2006 Apr 11
15
Migrating rails 1.0 app to 1.1 - Noob question
Hi all, I''ve upgraded my system to Rails 1.1.1 successfully.
After much looking I haven''t found out how to migrate an existing
application to a new rails version though. What is the procedure, if
any, for upgrading the application I''ve developed in 1.0? Is there a
script I need to run?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
4
file_column and animated gifs
hi,
is it possible to resize animated gifs with file_column?
if i upload an animated gif file with file_column than the animation no
longer exists...
--
Posted via http://www.ruby-forum.com/.
2006 Jan 12
2
file_column issue: file upload fails without error
environment:
Locomotive + Rails 1.0 Max
Lighttpd 1.4.8, FastCGI 2.4.0
Ruby 1.8.2
File_column version: 0.3.1
Path to file_column: /vendor/plugins/file-column/
symptom:
Uploading a file using file_column fails; no file is uploaded and the
"filename" column remains blank. No error messages are produced - a new
record is created with blank filename.
code and log here:
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb
map.connect ''admin'', :controller => ''/admin/welcome''
I have found plenty of examples saying this is correct if you have a
WelcomeController in the Admin module, which I do :)
But now webrick won''t even start ??? Look at those 4 colons ::::, what
is that about ?
help !
=> Booting WEBrick...
2006 Apr 30
6
Help, Gruff is killing me
Hi all,
I hope somebody can help me out here, since the issue has been killing
me for the last three days. Here is the issue:
It seems that gruff kills rails/webrick whenever it''s used on win32. I
installed gruff per instructions and it seems to be working. The
sample controller generates a nice grpah with send_data and all. The
issue started once I try to use any other
2006 Mar 09
0
odbc adapter error with one-click-installer 1.8.4 pv3
I''m having trouble accessing a db2 database via odbc using rails. It''s an
external database, that I import data from. I have placed the connection
code in my model :
unless connected?
establish_connection(
:adapter => "odbc",
:dsn => "TM_Reporting_00001",
:username => "<name>",
:password
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2006 Jan 09
5
file_column content type
is there a way using the file_column plugin to enforce a certain
content type based on regex (i.ie, /^image/) and/or filesize (150k)
?
thanks
adam
2006 Apr 08
5
file_column
hello,
how to generate new image if i do add new version? For example, I add
version :small => { :size => "320x240" } .
How to tell file_column to generate new image version if image is
allready uploaded ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Oct 30
2
file_column uppercase extension problem
i''m using file_column 0.3.1 with rails 1.1.6, ruby 1.8.4, on winXP, and
i have this problem:
when I try to upload in my web application an image using file_column
plugin, if the extension of the image contains at least 1 uppercase
(e.g. myImage.jpG), I get this error:
No such file or directory -
./public/model/picture/tmp/1162229227.753000.516/myImage.JPG or