Tagged Questions
4
votes
1answer
214 views
Ruby script to load xlsx files into mysql db
I put together this Ruby script (1.9.3) to load data into MySQL from many xlsx files that contain data entered by people. These files typically have many illegal characters and it has been difficult ...
4
votes
3answers
115 views
Search for User by first and/or last name, efficiently
I am refactoring a user search that just feels dirty. (Users#search)
I need to allow a blank param to search on partial or only a first or last, but don't want to return all the records in the ...
2
votes
3answers
504 views
Extracting and mangling a parameter from a MySQL configuration file
Is there a better way of doing this?
...
0
votes
1answer
65 views
In ruby how can I break down this method into smaller components?
For work, my colleague and I sketched this method up as a brain dump of how we want this method to work. What I am trying to figure out is how can we break this method into smaller components so that ...
0
votes
1answer
163 views
Review my ruby for performance
So I'm using the acts_as_taggable_on gem to tag 3 different models: Question, Blog, and ...