This line is stripping whitespace we need for our test data. It is effecting our Rspec tests.
Was there a reasoning for this?
I think strip is just there to sanitize the input. I'm curious about your use case now :)
We have a string providing day information in a format "SMTWTFS". Each day is represented with the character in the string position, if the day is not active it is replace with a space, so for Monday and Friday we have " M F ". We are working with a rather large dataset, so changing the format of the data wasn't an option. We just kept running into a problem where Sunday was active with Monday, etc.
strip-ing in https://github.com/rails/rails/blob/3-0-9/activerecord/lib/active_record/fixtures.rb#L745 was added a long time ago. So is it a regression (and if so, compared to what version?) or are you effectively using CSV fixtures for the first time?
This was started on a greenfield project, so using CSV fixtures for the first time. We started directly on Rails 3.0.7.
CSV fixtures have been deprecated and support for them removed in 3-1.
making rake:migrate VERSION=0 a noop called in succession. [#2137 sta…
Signed-off-by: José Valim <email@example.com>