diff options
author | Alexey Muranov <muranov@math.univ-toulouse.fr> | 2011-12-20 21:58:26 +0100 |
---|---|---|
committer | Alexey Muranov <alexey.muranov@gmail.com> | 2011-12-30 10:34:02 +0100 |
commit | 7162ea2a0c75f270eab37217d1daa0268e258e71 (patch) | |
tree | 59479ab73a07d4b15be392620b895826de8526f1 /ci | |
parent | d3e6e7e484c21d40e8fb7f765099f280f5de85e0 (diff) | |
download | rails-7162ea2a0c75f270eab37217d1daa0268e258e71.tar.gz rails-7162ea2a0c75f270eab37217d1daa0268e258e71.tar.bz2 rails-7162ea2a0c75f270eab37217d1daa0268e258e71.zip |
Fixture's table name be defined in the model
Made the fixture's table name be taken from its model class whenever this class responds to table_name, instead of inferring it sometimes from the fixture's pass.
The previous behavior seemed buggy because it depended on whether the model class was passed as a constant or as a name string.
Improved Fixtures#initialize.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions