Displaying 18 results from an estimated 18 matches for "tidentifier".
Did you mean:
identifier
2010 Jan 31
6
Action path - syntax error, unexpected tIDENTIFIER, expecting ')'
...on the login link on the index.html.erb page. I think I am having
dfifficulty in setting up path to an action or even understanding how to set
REST path properly. Can someone please help me.
Here is the error on the home page:
C:/RoR/health/app/views/home/index.html.erb:3: syntax error, unexpected
tIDENTIFIER, expecting '')''
...link_to ''Login'' login_user_path(user) ).to_s); @output_buffe...
... ^
Extracted source (around line #3):
1: <h1>Home app/views/home/index.html.erb</h1>
2:
3: <%= link_to ''Login'' lo...
2008 Nov 22
4
"syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response
I get a "syntax error, unexpected tIDENTIFIER, expecting kEND" when
the following RJS template is rendered:
page.insert_html :bottom, :requisite_table, :partial =>
"insert_jobrequisite_select", :locals => {:job => @job, :counter =>
@counter}
page.alert("hi")
The same RJS template is rendered without erro...
2012 Jul 22
3
Puppet template tags and Java JSP tags
...tags and jsp''s one.
This is an example of the trace it is givin me :
/etc/puppet/modules/xxx/templates/webapps/xxx/yyy/Mantle.jsp:1:in `result'':
> compile error (SyntaxError)
> /etc/puppet/modules/xxx/templates/webapps/xxx/yyy/Mantle.jsp:1: syntax
> error, unexpected tIDENTIFIER, expecting $end
>
Is there any know way to deal with JSP pages ?
Thanks all,
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/q83caZg6ZV0J.
To...
2007 Dec 06
1
error during template parsing (??)
...rather new to puppet and set up a puppet server and some clients.
during "puppetd --server=puppetmaster.example.com --verbose" I get the
following error which says nothing to me:
err: Could not retrieve configuration: Uncaught exception compile error
(erb):241: syntax error, unexpected tIDENTIFIER, expecting $end
HashMap map =
(HashMap)session.getAttribute("map");
^ in method
puppetmaster.getconfig
warning: Could not get config; using cached copy
has anyone had this error?
I use puppet in versio...
2007 Feb 12
1
Invalid char problem
...error
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2:
parse error, unexpected '')'', expecting kEND
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:3:
parse error, unexpected tIDENTIFIER, expecting kEND
_erbout.concat " <div class=\"article_title\">"?; _erbout.concat((
@article.title ).to_s); _erbout.concat "</div>\n"
^
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/....
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 Jun 17
4
Textmate Madness
...everything works fine. However, when I run those files on a
Windows machine I get e.g.
compile error
./script/../config/../app/views/station/consumption/new.rhtml:2:
Invalid char `\002'' in expression
./script/../config/../app/views/station/consumption/new.rhtml:4: parse
error, unexpected tIDENTIFIER, expecting kEND
_erbout.concat " "x; _erbout.concat((render
:partial=>"record_form").to_s); _erbout.concat "\n"
^
./script/../config/../app/views/station/consumption/new.rhtml:4:
Invalid char `\002'' in expression
./script/../config/../a...
2013 Jun 04
3
Nokogiri::XML methods example
Hi,
I am not able to find out a simple example to find out the how the
method works:
> Nokogiri::XML::EntityReference::new
(http://nokogiri.org/Nokogiri/XML/EntityReference.html#method-c-new)
> Nokogiri::XML::Document#canonicalize
(http://nokogiri.org/Nokogiri/XML/Document.html#method-i-canonicalize)
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2006 Apr 25
16
case statements in views...strange error on OSX
I have a simple case statement in one of my views. This works fine on my
windows machine. Move to the mac and I get: "parse error, unexpected
tIDENTIFIER, expecting kWHEN".
I have not changed anything but cannot resolve the issue. my view has
this in it (simplified for test)
<% case controller.controller_name -%>
<% when "accounts" -%>
<h3>worked accounts</h3>
<% else -%>
<h3>worked else</h3&g...
2007 Aug 24
2
error in rails 1.2.3 activerecord
...** Invoke environment
** Execute db:schema:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
rake aborted!
./db/schema.rb:9: syntax error, unexpected tIDENTIFIER, expecting kDO or
''{'' or
''(''
c:/ruby186/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/de
pendencies.rb:488:in `load''
c:/ruby186/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/de
pendencies.rb:488:in `load''...
2006 Nov 24
6
Rails 1.2 RC1 problem
...ting kEND
['6', 'Coimbra'],
^
/var/rails/LocaisVoo/app/helpers/sites_helper.rb:11: parse error, unexpected
tINTEGER, expecting kEND
['7', '�vora'],
^
/var/rails/LocaisVoo/app/helpers/sites_helper.rb:11: parse error, unexpected
tIDENTIFIER, expecting kEND
['7', '�vora'],
^
/var/rails/LocaisVoo/app/helpers/sites_helper.rb:12: parse error, unexpected
tINTEGER, expecting kEND
['8', 'Faro'],
^
/var/rails/LocaisVoo/app/helpers/sites_helper.rb:12: parse error, unexpecte...
2006 Mar 28
0
[Tip] Rails 1.1 / Ruby 1.8.4 - Fixing Syntax Errors on Windows
Hello All ~
As suggested I upgraded Ruby to 1.8.4 along with Rails. My Linux
boxes have been running 1.8.4 and haven''t complained about my source.
On the Windows version however, if you start to see errors like:
Invalid char `\002'' in expression
parse error, unexpected tIDENTIFIER, expecting kEND
Go through your code and replace your tabs with spaces. I use
EditPlus and you can configure the tabs to use spaces. This solved my
problem.
~ Ben
--
Ben Reubenstein
http://www.benr75.com
2007 Aug 15
0
case .. when in view
...using the case/when, but the strange thing is that
rails/ruby can''t seem to handle whitespace in front of the "when"
statement:
<% when :string then -%>
generates:
compile error
script/../config/../app/views/inside/admin/_form.rhtml:26: parse error,
unexpected tIDENTIFIER, expecting kWHEN
_erbout.concat " "; when :string then
^
allthough
<% when :string then -%>
works..
Seems like a bug to me..
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message bec...
2009 Apr 12
0
Heroku Garden - reversing or changing a 'generate scaffold' command
...from the console doesn''t seem to
work.
For example, I generated a Product scaffold in Heroku Garden.
When I try to destroy it using the console, I get the following error:
script/destroy scaffold Product
SyntaxError: compile error
/home/heroku_rack/lib/init.rb:1: syntax error, unexpected tIDENTIFIER,
expecting kDO or ''{'' or ''(''
script/destroy scaffold Product
^
Does anyone have any ideas on this?
(I''m a Rails/OO newbie)?
Many thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the G...
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in
Vancouver for the mini-workshop I did on the 27th last month, I am making
available the 30 slides I used for the presentation.
The slides were used in conjunction with me demonstrating it via command
line. Alot was learned by both attendees, and quite possibly even more so by
myself while teaching the material.
I created
2008 Sep 22
3
syntax error in RJS
...tom, ''messages'', ''test''
end
page.call ''updateMessageWindow''
However this snippet gives a syntax error:
ActionView::TemplateError (compile error
D:/Eigene
Dateien/Programming/Web/AjaxChat/app/views/chat/update.js.rjs:1: syntax
error, unexpected tIDENTIFIER, expecting kEND
3.times do
page.insert_html :bottom, ''messages'', ''test''
end
page.call ''updateMessageWindow''
^) on
line #1 of chat/update.js.rjs:
1: 3.times do
page.insert_html...
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
...filter using searchlogic.
I tried "new_blog_entries =
Blog.status_name_does_not_equal_any([''published'',
''archived''])_and_created_at((Time.now - 24.hours) .. (Time.now))" but
I got an ugly error of "
SyntaxError: (irb):42: syntax error, unexpected tIDENTIFIER, expecting
$end
...''published'', ''archived''])_and_created_at((Time.now - 24.hours) ..
(Ti...
... ^
from /usr/local/bin/irb:12:in `<main>''
>> "
Any ideas?
thanks
--
You received this message because you...
2011 Nov 22
7
rake aborted with ruby on rails
...-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)
** TwitterAuth initialized properly.
rake aborted!
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/texticle-2.0.2/lib/texticle.rb:44:
syntax error, unexpected tIDENTIFIER, expecting tAMPER
__send__(method, *search_terms, exclusive)
^
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/texticle-2.0.2/lib/texticle.rb:78:
undefined (?...) sequence: /^search_by_(?<columns>[_a-zA-...