[Rails] Re: Newbie - deployment, hosting

2012-11-02 Thread yaniv pr
Thanks a lot for your detailed answers, I'm starting to get the picture On Friday, November 2, 2012 11:13:35 AM UTC+2, Alessio Peternelli wrote: I use to host on * http://www.webfaction.com/services/hosting?affiliate=apeternelli they have good support team, low prices and a well balance

Re: [Rails] Newbie - deployment, hosting

2012-10-30 Thread yaniv pr
I intend to step out of the 'learner app' zone as quickly as I can :) Thank you all On Tuesday, October 30, 2012 6:00:21 PM UTC+2, Tommaso Visconti wrote: Il 30/10/12 16:54, Dave Aronson ha scritto: On Tuesday, October 30, 2012, Dmitry Maksyoma wrote: Heroku is quite expensive,

[Rails] Newbie - deployment, hosting

2012-10-29 Thread yaniv pr
Hello, So, after learning ruby on rails and building a great app on my local machine, I need to find a host, deploy, and of course maintain a (staging and) production environment. This all seems very confusing, and I'd like to learn this in an organized manner, step by step: I've come across

Re: [Rails] Newbie - deployment, hosting

2012-10-29 Thread yaniv pr
Thanks for your answer, I may go for it. The thing is, I'd really love to know what I'm doing, and eventually master this subject. On Monday, October 29, 2012 3:41:03 PM UTC+2, Colin Law wrote: On 29 October 2012 13:32, yaniv pr yan...@gmail.com javascript: wrote: Hello, So, after

[Rails] Rails Dynamic Finders Return nil

2012-08-05 Thread yaniv pr
Using Ruby on Rails - sqlite3, rails 3.2.2, ruby 1.9.3p125 (on windows XP) Having the record in the db: Shop.find(123) - returns the shop Shop.where(:id = 123) - returns the shop but Shop.find_by_id(123) returns nil Shop.find_by_name(some_name) returns nil So do all the dynamic finders

[Rails] Re: Rails Dynamic Finders Return nil

2012-08-05 Thread yaniv pr
Colin Law wrote in post #1071355: On 5 August 2012 13:30, yaniv pr li...@ruby-forum.com wrote: Shop.find_by_id(123) returns nil Shop.find_by_name(some_name) returns nil So do all the dynamic finders (notice it returns nil for integer value and for string values). This happens with every

[Rails] Re: Rails Dynamic Finders Return nil

2012-08-05 Thread yaniv pr
Solved. Either by upgrading to rails 3.2.6 or by removing 'annotated_model' gem. Thanks. -- 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 post to this group, send email to

[Rails] Paperclip duplicates uploaded images

2012-07-11 Thread yaniv pr
Hi, I'm using rails3 with paperclip to upload multiple images as in http://www.emersonlackey.com/article/paperclip-with-rails-3 The problem is, every image is duplicated upon create/update, that is, saved twice to the db (and afterwards displayed twice in the view as a result) In other pages,