Is there a way that you can get a collection of all of the Models in your Rails app?
Basically, can I do the likes of: –
Models.each do |model|
puts model.class.name
end
Is there a way that you can get a collection of all of the Models in your Rails app?
Basically, can I do the likes of: –
Models.each do |model|
puts model.class.name
end