search for: railsism

Displaying 3 results from an estimated 3 matches for "railsism".

Did you mean: railsish
2011 Mar 07
3
difference between attr_accessor and attr_accessible?
Hi, What''s the difference between attr_accessor and attr_accessible? Is attr_accessor to create a virtual variable/object and attr_accessible makes it accessible? Do you need attr_accessible if you already have attr_accessor? Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 May 03
12
Mongrel + RubyOnRails + FileUploads = Problems?
I really like the idea of using Mongrel. But reading the FAQ, I noticed something that might be an issue. It stated: "Ruby on Rails is not thread safe so there is a synchronized block around the calls to Dispatcher.dispatch. This means that everything is threaded right before and right after Rails runs. While Rails is running there is only one controller in operation at a time." So
2006 May 05
0
RubyOnRails + FileUploads = Problems?
...on in the queue for such a thing. What you could do is have the uploads be done with mongrel, have even an ajax progress thing done with mongrel, and when it''s all finished bounce it over to rails to complete the process. Best of all, if you did it and managed to completely avoid an "railsisms" shooting for a nice REST uplaod/progress/done process, you could even scale that up by writing a little apache or lighttpd module. Of course you''d have to be REALLY desperate to do that, but the possiblity is there. Key with this is to avoid Ruby''s sessions. What you can...