Displaying 6 results from an estimated 6 matches for "tpope".
Did you mean:
pope
2013 Feb 19
4
Float::INFINITY ranges in where() clause
...e:
class Person
scope :voters, -> { where(born_on: (-Float::INFINITY..18.years.ago)) }
end
This would generate something along the lines of "WHERE people.born_on
<= ''1995-02-19''".
A proof of concept implementation was easy to knock out:
https://github.com/tpope/rails/commit/b98545a930546854ddf401edfaad4a3a4860aeff
This seems like a intuitive, unobtrusive way to make some comparison
operators available without dropping down to SQL. Tell me why I''m
wrong.
--
You received this message because you are subscribed to the Google Groups "Ruby on...
2009 Feb 25
5
[Cucumber] pretty html output?
Cucumberists (and RSpec Classic users ;):
How can we convert a Cucumber feature file into HTML with syntax highlighting?
Not the test-runner output; that''s preprocessed so it does not match the input
file...
Tx!
--
Phlip
2007 Dec 14
2
Vim integration.
Hi,
Does anybody have a vim script that enables me to run specs from within
vim and have the cursor positioned on the right line in case of a backtrace?
TIA,
Erik.
2008 Oct 18
2
Re: TextMate Bundle using Gedit
For what I know you can''t use the TM bundles...
But like mgutz pointed there''s a lot of plugins. There is some
alternatives to achieve something like TM bundles. Look at this links:
- GMate - http://github.com/lexrupy/gmate/ (http://
alexandredasilva.wordpress.com/gmate/)
- gedit-rails - http://github.com/mig/gedit-rails/
Think that GMate is the most complete. I use these as
2006 Aug 06
10
editor recommendation
Hello lsit,
I''am new to rails (about 2 hours) and after the first lines of code
I must say: Great! I love it!
Can someone recommend me a editor? I run Ubuntu Dapper.
Th?ngs
--
Jochen Kaechelin, fvgi242ss, wlanhacking.de
http://mail.wlanhacking.de/cgi-bin/mailman/listinfo
http://www.gissmoh.de - Mein sonstiges Leben!!
2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On
Windows....RadRails never cut it. Under Aptana, it''s a terrible joke,
and I''m sick of losing so much time waiting not only for this thing to
initialize, but the hanging and crashing I go through is killing me.
Please, someone....point me to a decent, lightweight IDE. All i want
is syntax coloring.