similar to: sparklines

Displaying 20 results from an estimated 11000 matches similar to: "sparklines"

2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all, First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0. Now, I''m using tildes in a template to prevent newlines from appearing but ruby/puppet is choking on them. */tmp/puppet$ cat test.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%>
2006 May 16
3
sparklines
I am fairly new to R so I don;t know much about manipulating it yet. I would like to make some sparklines <http://www.edwardtufte.com/ bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1> using R. I have th pre-compiled R for MacOS on intel. Any help would be greatly appreciated. Thanks Robert
2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved so far? I would like to use ferret and acts_as_ferret on Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected
2006 Oct 06
1
sparklines in lattice
Dear R-help, Has anyone implemented sparklines in the strips of a lattice plot? What I have in mind is, say, highlighting that part of a time series that one is examining in more detail in a set of lattice plots. Regads,. Mark Difford. PS: (Andreas Loffler has implemented a simple but functional version for TeX/LaTeX: http://www.tug.org/tex-archive/help/Catalogue/entries/sparklines.html)
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
2007 Sep 19
0
Error with special characters(?)
Hi, I am having a strange problem. I have RoR 1.7 installed and a have a HTML page (View) with the folowing part of code: <% types = ["AF1", "ALéEL", "AE pé", "CET"]%> The element of the 2nd index ("AE thé") is causing me problem. The fact is since the last letter of the string is a special character ("é"), i have the following
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 11
4
Live search in Rails
Hi i''ve been trying to implement live search on rails but Im having trouble Im using a tutorial at: http://www.joestelmach.com/blog/live_search_with_ruby_on_rails But im getting a syntaxerror on line 1 ''1: <% if @items && @items.length > 0% >'' I cant fathom what im doing wrong, is that line calling a column in my database called items?
2009 Oct 23
2
Deployment syntax error: fine in dev - what's happening?
I''m deploying an app (using Capistrano) to a staging server prior to final deployment. The app runs fine in dev, but in staging it throws a syntax error. How can that be? The error is: /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': /Library/WebServer/staging.givetothem.co.uk/releases/20091023133654/app/controllers/bulkimport_controller.rb:32:
2006 Jun 17
4
Textmate Madness
Has anyone come across this problem... I created some Ruby files in Textmate on my Mac - and 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
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
2010 Feb 25
2
error on project run.....
Hi, i am new at rails, working on a project,as i run my project in netbeans, the following error comes in the output window, suggest some fix for it. C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/ gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ initializer.rb:1070: , unexpected kEND
2006 Jun 26
0
Sparkline Graphs Breaks Generator Help?
I''ve noticed that when using Geoffrey Grosenbach''s Sparkline Graphs Gem, the Rails built-in generator help stops working i.e. I type script/generate and it just returns without outputting anything. Can anyone reproduce this or is it just me? -- Posted via http://www.ruby-forum.com/.
2012 Sep 21
3
(koans) another problem (syntax error)
Hello, I now trying to solve this one : # Triangle Project Code. # Triangle analyzes the lengths of the sides of a triangle # (represented by a, b and c) and returns the type of triangle. # # It returns: # :equilateral if all sides are equal # :isosceles if exactly 2 sides are equal # :scalene if no sides are equal # # The tests for this method can be found in #
2007 May 28
2
helper with block compile error
HI, i''m trying to write a helper that replaces link_to_remote that accepts a block but it gets a compile error in the template: I don''t know what I''m doing wrong... TIA # application_helper.rb def link_block_to_remote( options = {}, html_options = {}, &block) concat(link_to_remote(capture(&block), options, html_options), block.binding) end # in
2009 Jun 29
2
Cannot Run Ruby on Rails on windows Vista or 7
Hi There, I have installed ruby on rails on a windows 7 box as mentioned on the official ror manual and it works perfectly for some times. but when I refresh web browser page few times I got this error and now nothing is working on my pc. here is the error I get when i try to start the server now. does anyone has experienced this before? C:\Users\Randika\emktplcusers>ruby script\server =>
2006 Jul 11
1
error when ''Booting WEBrick''
I encountered this problem yesterday so, I decided to build the whole /app directory over but got the same thing again. what I did- I build the MVC files for ''abc'', included abc.rb in /lib, appended environment.rb with ''require abc'' and the service worked fine. And then I did the same for ''xyz'' and ran the server but it failed. both abc.rb and
2009 Aug 16
5
any help with captcha in my comments ?
this is my error: Processing ApplicationController#create (for 127.0.0.1 at 2009-08-17 00:57:56) [POST] Parameters: {"comment"=>{"name"=>"asdasd", "body"=>"asdasd"}, "commit"=>"Add Comment", "post_id"=>"19",
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...
2007 Nov 10
3
Wrapper Helper Help Please
Hi all. I''m hoping this is a simple one that someone can put me right on. I have a view that ''wraps'' some div''s around a Page Header and Page Content, for formatting reasons: <div id="LHS"> <div class="Page"> <div class="PageHeader"> ''Header Here'' </div> <div