search for: tconstant

Displaying 8 results from an estimated 8 matches for "tconstant".

Did you mean: constant
2006 Nov 24
6
Rails 1.2 RC1 problem
...get the following errors. It works fine with rails 1.1.2 /var/rails/LocaisVoo/app/helpers/sites_helper.rb:9: parse error, unexpected tINTEGER, expecting ']' ['5', 'Castelo Branco'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:9: parse error, unexpected tCONSTANT, expecting kEND ['5', 'Castelo Branco'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:10: parse error, unexpected tINTEGER, expecting kEND ['6', 'Coimbra'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:10: parse er...
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
...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: syntax error, unexpected tCONSTANT, expecting ')' fd = Wx::FileDialog.new( nil, 'Import file', "", "", ^ unicode.rb:128: warning: parenthesize argument(s) for future version unicode.rb:128: syntax error, unexpected tCONSTANT, expecting kEND Wx...
2006 Mar 05
0
rake clone_schema|structure_to_test fail
When I do ''rake clone_schema_to_test'' I get this: (in /var/www/rails1) rake aborted! ./db/schema.rb:34: syntax error, unexpected tCONSTANT, expecting kDO or ''{'' or ''('' t.column "datetime", :datetime, :default => Sun Mar 05 03:19:39 MST 2006, :null => false ^ ./db/schema.rb:67: syntax error, unexpected tCONSTANT, expecting kDO...
2006 Mar 17
6
Problem with ruby 1.8.4 One-Click Ruby Installer on windows
...preview3. Then installed rails, rmagick, radrails, created docs for trunk version of file_column plugin, everything works. But when i try to display any page i get lots of errors like these: compile error ./script/../config/../app/views/admin/properties/_form.rhtml:56: parse error, unexpected tCONSTANT, expecting kEND ./script/../config/../app/views/admin/properties/_form.rhtml:57: parse error, unexpected $, expecting kEND ./script/../config/../app/views/admin/properties/_form.rhtml:62: Invalid char `\002'' in expression If i remove spaces and newline characters between lines and place...
2006 Aug 04
1
route error with controllers in a module, should just work
...k won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick... generated/routing/recognition.rb:38:in `write_recognition'': compile error (SyntaxError) generated/routing/recognition.rb:35: parse error, unexpected tCOLON3, expecting tCONSTANT return {"controller" => ::::Admin::WelcomeController, "action" => "index"} ^ generated/routing/recognition.rb:35: dynamic constant assignment return {"controller" => ::::Admin::WelcomeController, "a...
2009 Apr 14
6
About haml and ruby on rail
...om haml code and my indentation is also correct,but now it shows following errors I have kept code of show.html.erb and show.html.haml in attachment. please help me I am not getting what exactly the error is? compile error D:/aflatune/app/views/tracks/show.html.haml:33: syntax error, unexpected tCONSTANT, expecting '')'' _hamlout.open_tag("a", false, false, false, false, {"class"=>"ActionLink"}, false, false, nil, nil, :href => "#", :onclick => "if(confirm("Are you sure you want to delete this track and associated media file...
2007 Sep 19
0
Error with special characters(?)
...special character ("é"), i have the following error: (note that i dont have the problem with the element of index 1 which also have a "é" but not in the last position of the string. compile error ./script/../config/../app/views/xpto/insertion.rhtml:20: syntax error, unexpected tCONSTANT, expecting '']'' _erbout.concat "\t\t"; types_demandes = ["AF1", "AL餵EL", "AE p頦quot;, "CET"]; _erbout.concat "\n"...
2006 Aug 10
6
More GoDaddy Woes
My GoDaddy Rails site has been plugging away for a couple of weeks. Its just a proof of concept with very little use. I haven''t updated it or restarted FCGI at all. But today, it just quit working altogether. In the error log, I''m getting: (104)Connection reset by peer: FastCGI: comm with server "dispatch.fcgi" aborted: read failed FastCGI: incomplete