Much like textacular (https://github.com/textacular/textacular), make it a
gem.
--
Jarrett Meyer
Email: jarrettme...@gmail.com
Web: JarrettMeyer.com <http://jarrettmeyer.com>
Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer>
On Sat, May 11, 2013 at 11:08 PM, Rafael Men
.
>>
>> Employee.all vs. Employee.all.to_a is not that big of a deal. And you should
>> expect breaking changes with a major version number. That's why your code is
>> covered by tests, right?
>>
>> Signed,
>> An-ex-.NET-developer-turned-Rubyist
>>
&g
An-ex-.NET-developer-turned-Rubyist
--
Jarrett Meyer
Email: jarrettme...@gmail.com
Web: JarrettMeyer.com <http://jarrettmeyer.com>
Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer>
On Wed, Feb 27, 2013 at 6:09 PM, Will Bryant wrote:
> That's better than nothing, but #
byonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/**
> group/rubyonrails-core?hl=en<http://groups.google.com/group/rubyonrails-core?hl=en>
> .
> For more options, visit
always push to turn hard problems into easy problems.
--
Jarrett Meyer
Email: jarrettme...@gmail.com
Web: JarrettMeyer.com <http://jarrettmeyer.com>
Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer>
On Sun, Aug 5, 2012 at 11:42 AM, Gabriel Sobrinho <
gabriel.sobri...@g
0
[""].size #=> 1
[nil].size #=> 1
An array with a single item is no longer empty, even if the item itself is
empty.
--
Jarrett Meyer
Email: jarrettme...@gmail.com
Web: JarrettMeyer.com <http://jarrettmeyer.com>
Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer>
+1 to Richard. Keep ? for booleans, get rid of the others and use .blank?
and .present? as needed.
--
Jarrett Meyer
Email: jarrettme...@gmail.com
Web: JarrettMeyer.com <http://jarrettmeyer.com>
Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer>
On Thu, May 31, 2012 at 9:45
I've submitted a patch for ticket #6158.
Count should always return an integer. On decimal columns, the value was
being type cast to match the column type. This makes sense for sum() and
average() operations, but not for count() operations.
--
Jarrett Meyer
Email: jarrettme...@gmail.co