Displaying 13 results from an estimated 13 matches for "tinteger".
Did you mean:
integer
2006 Nov 24
6
Rails 1.2 RC1 problem
...do Castelo'],
['17', 'Vila Real'],
['18', 'Viseu']
]
end
this is used to polulate some lists on a view, but i 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.r...
2009 Jun 23
2
syntax error, unexpected tINTEGER, expecting $end
Please help me solve the following error message:
syntax error, unexpected tINTEGER, expecting $end
I have this model:
Code:
1. class GeoDatum < ActiveRecord::Base
2. end
The database contains the table geo_data, which contains the zip_code
column, filled with zip codes. I get the above error when searching
for a zip code and the zip code exists in the table. Here...
2006 Jun 22
11
Help please
Getting this error:
SyntaxError in CompanyController#positionslist
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
I could not find anything out about it (googling) and it''s not the
clearest error message. Not sure if it''s related to an expected data
type but that wouldn''t make sense. The only other thing I can think
of is the view only has place holders for 6 of the 12 co...
2008 Aug 29
4
newbie question for installation
...te script/runner
create script/server
create script/plugin
create public/dispatch.rb
create public/dispatch.cgi
create public/dispatch.fcgi
create public/404.html
(erb):9:in `template'': compile error (SyntaxError)
(erb):9: syntax error, unexpected tINTEGER, expecting $end from
c:/ror/lib/
ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generator/commands.rb:287:in
`te
mplate''
from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:365:in `render_file''
from
c:/ror/lib/ruby/gems/1.8/...
2006 May 05
1
Help with ActiveRecord
...;nil,
"post_id"=>nil, "mod_name"=>nil, "count"=>1, "user_id"=>nil,
"comment"=>nil}, @new_record=true>
>> AdminQueue.find(:all)
SyntaxError: (eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::0
^
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1244:in
`compute_type''
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:983:in
`instantiate_without_callbacks''
from /op...
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
...ults[0]
pp(Gmap.columns_hash[''type''])
results
end
Note that I cannot get the ''find :all'' statement to work. It yields a failure:
SyntaxError in City mapController#index
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::0
^
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1244:in `compute_type''
If I switch to my debug statements, when I do reference the ''type'' field
in the ''find_by_sql'' statement I get an identic...
2006 Dec 14
3
Problem with ActiveRecord and Associations
...te_flag,''true'')
end
The if statement is correctly getting the correct count of
children/detail recs, but the contact[0].update_attributes() is failing
with the following ugly error:
SyntaxError ((eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::0
^):
c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1244:in
`compute_type''
c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:983:in
`instantiate_without_callbacks''
c:/Ruby/lib/ruby/gems/1.8/gems...
2006 May 17
10
Weird error
What does this mean?
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::0
^
Anyone know? Any help counts!
Thanks in advance,
Mohammad(Programmer-22)
--
Posted via http://www.ruby-forum.com/.
2006 Jan 10
7
All My Rails Apps Died Over the Holidays
I have several Rails (version 1.0) apps I''m working on on a Win XP box
using Webrick that were working fine before I left for the holidays. I
came back, started up and they all get the same syntax and compile
errors:
compile error
./script/../config/../app/views/time/list.rhtml:4: Invalid char `\212''
in expression
repeated over and over. Refreshing the page gives thes same
2006 Apr 18
10
Validates_ip_of
Hello all
After being told of a funky date validator I will ask again for another
validator :) Does anyone know of a plugin that validates that a field is
the correct syntax for an IP Address?
Thanks
Jeff
--
Posted via http://www.ruby-forum.com/.
2010 Sep 07
0
numeric key in yam file to be used by config file
...ONFIG[:seve]["api_token"] gives me
e09cba8653489749388797926512bb75
BUT I need to use a ''numeric'' project_id key , like 123456 rather
than seve, and writing
development:
123456:
api_token: e09cba8653489749388797926512bb7
gives me a syntax error, unexpected tINTEGER (which I can
understand...)
how can I user a numeric key ?
thanks fyh
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To un...
2006 Jun 26
0
error while booting WEBrick server
...ant DEF_FORCE_ARRAY
c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:286:
warning: already initialized constant DEF_INDENTATION
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': ./script/../config/../lib/technorati.rb:1: parse error,
unexpected tINTEGER, expecting $ (SyntaxError)
technorati-ruby/
0000755 0000000 0000000 00000000000 10377133241 0015243 5
ustar viewcvs viewcvs
0000001 0000000
^
from c:/ruby...
2006 Apr 13
2
One model won''t work like the others, generating weird error
...trunk, so it''s
using the version of rails in vendor/rails. Everything is going
smoothly...until now.
I have one model that JUST. WON''T. WORK. Whenever I call it, I get the
following error:
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
The model itself couldn''t be any simpler:
class Team < ActiveRecord::Base
end
The controller calling it is as follows:
class RostersController < ContentController
layout :theme_layout
helper :articles
model :team
def index
ac_teams =
[''COU'...