pl wrote:
> Hi John,
> 
> More classes and instances will use more memory. Many websites uses
> Rails with these 3000+ classes in production, so that's not really a
> problem.
> 
> What exactly is your question? You can disable parts of the Rails
> framework in your environment.rb, but that won't make a big
> difference.

Hi Pl,

Great to know many website use more than 3000+ classes.

Basically,
1. I will have huge numbers of tables and each one of them have totally 
different columns. This because I want user to be able to upload theirs 
own data/tables.
So, in this case, it can be even 20000+ classes.
2. For each tables, I will have model class that will access that table.

3. By having these no 1 and 2 requirement, I will need to load "model 
classes" dynamically whenever a user import their own table without 
restarting rails. So that's why I am looking into autoload feature. But 
seems like autoload only loading it from file. It will not load based on 
"string that contain model class"


-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to