[Rails] Re: [ANN] Ruby Manor 4, London UK, 6th April 2013

2013-01-26 Thread tonypm
fist I've heard of it again this year. What secret society do you need to belong to to get a ticket - lol We'd love to see you there. *I'd love to be there!* In anticipation Tony On Tuesday, 22 January 2013 16:22:34 UTC, James Adam wrote: There's a good chance you've already seen

[Rails] Best practice to handle this

2013-01-26 Thread Linus Pettersson
Hi! I have a model which has a field that can have three values only. I store the value in the database as an integer, 0, 1 or 2, but when I display it I want a more appropriate text. And, I want it to be translatable using i18n. Let's say that it corresponds to how difficult something is. So,

Re: [Rails] Best practice to handle this

2013-01-26 Thread Jim Ruther Nill
On Sat, Jan 26, 2013 at 8:58 PM, Linus Pettersson linus.petters...@gmail.com wrote: Hi! I have a model which has a field that can have three values only. I store the value in the database as an integer, 0, 1 or 2, but when I display it I want a more appropriate text. And, I want it to be

[Rails] Re: JMeter Load testing

2013-01-26 Thread Al Fenkner
You need to extract the authenticity_token from the page each time it loads and add it to your form post. How to instructions are provided here: http://ertw.com/blog/2010/06/29/load-testing-a-rails-app-and-the-authenticity_token/ On Thursday, February 25, 2010 9:30:30 AM UTC-8,

Re: [Rails] Best practice to handle this

2013-01-26 Thread hyperboreean
On 01/26, Linus Pettersson wrote: Hi! I have a model which has a field that can have three values only. I store the value in the database as an integer, 0, 1 or 2, but when I display it I want a more appropriate text. And, I want it to be translatable using i18n. Let's say that it

[Rails] Railinstaller issues on mac: Step 5

2013-01-26 Thread WayWay
I downloaded Railsinstaller @ http://railsinstaller.org/mac and am stuck on step 5. I downloaded sublime and have tried to create a ~/bin directory in my path by following some tutorials but not sure if that was successful and do not know how to check. Also, I am confused over the directions on

[Rails] Re: store pdf directly to amazon

2013-01-26 Thread GT
Using Paperclip, you should be able to configure to store your pdfs onto amazon s3. https://github.com/thoughtbot/paperclip Cheers, GT -- 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

Re: [Rails] Re: store pdf directly to amazon

2013-01-26 Thread Saravanan P
I dont think it will helpful, below is my code, // in my model content = File.read #{Rails.root}/app/to/mytemplate.html.erb template = ERB.new(content) html_content = template.result(binding) pdf= WickedPdf.new.pdf_from_string(html_content) save_path =