Ruby on Rails Friday, February 20, 2015

Hello All,

I need to perform natural sorting on alphanumeric column's data and even return  type should be ActiveRecord::Relation. I tried 'naturally' and ''naturalsorter'' gem but not successful.Below link explain what is natural sorting. 

http://www.copterlabs.com/blog/natural-sorting-in-mysql/    

Thanks! in advance


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ca6a9014-79dc-4b4d-98a4-f197dd3e3d19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment