[Rails] validates uniqueness failing oddly

2014-04-09 Thread andreo
Hey guys I have this question on stack overflow(I only use it because it's easier to format the code). is anybody willing to help? http://stackoverflow.com/questions/22932742/rails-validates-uniqueness-is-failing-oddly/ all the best, Andre -- You received this message because you are

Re: [Rails] Rename params

2014-04-09 Thread tamouse pontiki
On Tue, Apr 8, 2014 at 2:28 PM, Matthew Witek buyzl...@gmail.com wrote: This is technically not one line but you could do. my_var = {xx: test} my_var[:yy] = my_var[:xx]; my_var.delete(:xx) It becomes one line by: my_var[:yy] = my_var.delete(:xx) as Hash#delete returns the value at the

[Rails] Immediate Need Ruby on Rails Developer with Redmine @TX/ Remotely

2014-04-09 Thread sukumar . virtue
Hi , Hope you are doing good. Please find the below requirement and reply back with updated resume to my mail id *svall...@virtuegroup.com* *Job title: Ruby on Rails Developer with Redmine* *Location: Austin, TX /(Remotely* *Duration: 6+ Months* *Must-haves* - 4-5 years senior level*

[Rails] How can I convert an ImageMagick shell script for use in my RoR project?

2014-04-09 Thread Eric Kornmeyer
I'm creating a project that lets users upload images onto products and then buy the products. I'm using Carrierwave and Minimagick. I found this cylnderize script on fmwconcepts. It's a shell script. It is literally perfect for what I need as a lot of the products are mugs. Does anyone know how I

Re: [Rails] How can I convert an ImageMagick shell script for use in my RoR project?

2014-04-09 Thread Thota praneeth
Hello Eric, I hope this is the one you need: system -COMMAND convert image.png -monochrome -format png -density 300 another_image.png COMMAND On Thu, Apr 10, 2014 at 5:25 AM, Eric Kornmeyer li...@ruby-forum.comwrote: I'm creating a

[Rails] Re: Calling function from html.erb

2014-04-09 Thread Alfredo Barrero
Any idea of the issues?. Thanks a lot. El martes, 4 de marzo de 2014 03:57:19 UTC+8, Alfredo Barrero escribió: Good night everyone, My name is Alfredo Barrero and I'm getting started with RoR. I have been learning with Agile Web Development. Now I'm trying to do my own web

[Rails] Re: Paperclip

2014-04-09 Thread Alfredo Barrero
Any idea of the issues?. Thanks a lot. Alfredo. -- 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+unsubscr...@googlegroups.com. To post

[Rails] Re: How can I convert an ImageMagick shell script for use in my RoR project?

2014-04-09 Thread Eric Kornmeyer
Lol that doesn't wrap an image around a cylinder thanks though -- Posted via http://www.ruby-forum.com/. -- 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