[Rails] Re: FileUpload without Tempfile

2011-04-08 Thread Helmut Juskewycz
I tried to hack into Rack, however, so far I was not able to avoid creating a tempfile. On Apr 8, 2:25 pm, Chris Mear wrote: > On 8 Apr 2011, at 13:13, Helmut Juskewycz wrote: > > > > > > > > > > > Thanks for pointing out that it is in Rack. Brings me one ste

[Rails] Re: FileUpload without Tempfile

2011-04-08 Thread Helmut Juskewycz
On Apr 8, 2:22 pm, Frederick Cheung wrote: > On Apr 8, 12:38 pm, Helmut Juskewycz wrote: > > > Another solution I was looking in was creating a Rack App and so avoid > > the file generation, however, didn't work either. Same with a Sinatra > > app. > > >

[Rails] Re: FileUpload without Tempfile

2011-04-08 Thread Helmut Juskewycz
Thanks for pointing out that it is in Rack. Brings me one step closer to a solution. On Apr 8, 2:00 pm, Chris Mear wrote: > On 8 April 2011 12:38, Helmut Juskewycz wrote: > > > I am looking for a way to upload a file to Rails 3 app, but without > > generating a temp file.

[Rails] FileUpload without Tempfile

2011-04-08 Thread Helmut Juskewycz
I am looking for a way to upload a file to Rails 3 app, but without generating a temp file. Googling the issue gave me some insight in how the file upload works. As I understand Rails creates a temp file when the file size is larger than 20kb. Is there a way to change this limit and avoid the temp

[Rails] How to use a long/bigint id in Rails applications?

2009-09-01 Thread Helmut Juskewycz
I am looking for a way to use a long/bigint primary key instead of the default integer id. I did some googling and there are some results (e.g. http://stackoverflow.com/questions/1066340/how-to-use-long-id-in-rails-applications), but I am not sure about the solutions and I don't want to have prob

[Rails] CreditCard Processing in Europe

2009-03-15 Thread Helmut Juskewycz
Hi, I spent the last days looking for a solution to accept/process credit cards. At the beginning I thought it is pretty easy to integrate a service like Paypal. However, the company is based in Austria and so many options are not available anymore. I really don't get the whole US only stuff, but

[Rails] Re: Storing UTC time, displaying and editing in user time zone

2009-03-08 Thread Helmut Juskewycz
I played for a couple of time now with Time TimeWithZone and the config and now it seems that I got the behavior I want. Still not sure if the Rails Time (zone) implementation is the best. On Mar 8, 4:04 pm, Helmut Juskewycz wrote: > Thank you for the link, however, the post only describes

[Rails] Re: Storing UTC time, displaying and editing in user time zone

2009-03-08 Thread Helmut Juskewycz
Thank you for the link, however, the post only describes an issue with TimeZone and ActiveRecord.find. Or are TimeWithZone and Time a general issue? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk

[Rails] Storing UTC time, displaying and editing in user time zone

2009-03-07 Thread Helmut Juskewycz
Hi, I know that there are already some discussions/posts about this issue, however, none of them helped me to solve my problem. Disclaimer first: The application has done it already correctly, but now the time conversation is broken and I don't know why. I am storing a start and end time in my

[Rails] Route alias

2008-12-04 Thread Helmut Juskewycz
Hi, the Rails app I am currently working on will have a public API (REST) so other can communicate with it. I am thinking right now which URLs to use. I saw some apps which use a prefix for their API, e.g. /api/v1/projects... I am not quite sure if this is really necessary, I mean if the app is

[Rails] Re: Public folder (images, javascript) on Amazon's Cloudfront

2008-11-30 Thread Helmut Juskewycz
Maybe it is interesting for other Rails beginners. The solution is pretty easy and straight-forward. Just go to the production environment and there is a line: # Enable serving of images, stylesheets, and javascripts from an asset server config.action_controller.asset_host = "htt

[Rails] Public folder (images, javascript) on Amazon's Cloudfront

2008-11-24 Thread Helmut Juskewycz
Hi, as the subject says I am currently considering to move all resources from my app to Cloudfront. I already googled for some best practices, but haven't found much. However, despite that Cloudfront is quite new, I think that many Rails developers have thought about doing this. As always thankf