[Rails-core] Suggestion for a new Rails environment that can be used exclusively for automation testing of functional/system tests

2017-02-27 Thread Vijay Raghavan Aravamudhan
With the latest merge into the master branch of this https://github.com/rails/rails/pull/26703, it seems that the core framework is heading in a direction where functional/system tests are also being accepted in a more formal way. If this is the case, imo, it would make sense to also have a RAI

Re: [Rails-core] Organize models in subfolders

2017-02-27 Thread Maurizio De Santis
This seems to break the STI :-( Activity1 is not found as an STI class -- Maurizio De Santis 2017-02-24 19:08 GMT+01:00 Jason Fleetwood-Boldt : > > not a Class within a Class, a Class within a Module, like so: > > module Activity > class Activity1 < ActivityBase > end > end > > or, alterna

Re: [Rails-core] Organize models in subfolders

2017-02-27 Thread Jason Fleetwood-Boldt
Yes, as I had explained in my previous email, you will absolutely need to rename the objects in the 'type' column when using STI/polymorphism. There are several other things to consider as well when making this kind of an object name change. You can do this directly in SQL (it would be fastes