[Rails] Re: Charts in Rails

2009-03-21 Thread jdwy
Google Charts stinks; it's the Google Visualization API that you want. Your data doesn't go to them and the widgets are much better. On Mar 21, 12:03 am, Unnikrishnan KP wrote: > I have tried almost all of the above charting libraries, gnuplot, > google charts and the flash charts as well. Final

[Rails] Re: Best Rails editor

2009-03-09 Thread jdwy
I enjoyed Aptana for a while, but I've recently switched to NetBeans and have been very impressed. The autocomplete SQL bits are to die for and the method name refactoring is impressive. http://jdwyah.blogspot.com/2008/12/netbeans-65-vs-aptana-radrails.html http://jdwyah.blogspot.com/2008/12/top-

[Rails] named scope lambda string substitution problem

2008-11-06 Thread jdwy
I have a complex named scope like the following. named_scope :foo, lambda {|foo, bar| foo.each do |d| #foo = "this line doesn't work #{s}" baz = "something like this works " + s end bar.each do |b| end { :conditions => {'baz' => 1} }} It does some pre-processing to