On Tuesday, December 11, 2012 6:35:48 AM UTC-5, Rodrigo Rosenfeld Rosas 
wrote:

>
> But I find this more consisent:
>
> post[:"dotted.column"].like('zomg%')
>
> than this:
>
> post.__send__(:"dotted.column").like('zomg%')
>
> You could actually support both syntaxes, but if you do so you wouldn't be 
> able to support things like this in the future:
>
>
I guess I don't follow, here -- do you mean a column with an actual dot in 
its name? I've been working with SQL for over 15 years, and while I know 
it's possible to do, I've never encountered a good reason for it. I agree 
that the first is more consistent in this case, but this seems like the 
edgiest of edge cases -- and, as you said, could be supported with 
alternative syntax. Not worried about supporting "like(:column, value)", 
personally. I like left to right readability when possible.
 

>
> With regards to GitHub stars, I wouldn't count much on that. I use GH 
> stars as a global "favorites" thing so that I can quickly find some project 
> I want to cite or take a closer look in the future. Most GH projects I 
> starred I don't actually use.
>

Didn't mean to imply much importance for stars, but as a relative metric, 
it seemed moderately useful -- they are as important/unimportant 
everywhere. ;)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/yvIB9X00NfgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to