On Thursday, July 5, 2012 at 11:48 AM, Olek Janiszewski wrote:
Hi guys,I've noticed the trend of trimming the fat from Rails in preparation for version 4 (which I appreciate).Do you think it'd make sense to also remove the test fixtures engine from Rails 4? From what I've seen, it's now more common to use more advanced solutions, with FactoryGirl leading the pack, and it's usually more practical to use Ruby to define fixtures, rather than YAML.More specifically:- would the core team approve of such effort?- how much work would it mean?- (related) how tightly are fixtures actually used within Rails' tests?It's hard to me to estimate the overall value/cost ratio, but if it's high enough, I'd be willing to take a shot at it.--Bye,Olek Janiszewski (exviva)
Hi guys,I've noticed the trend of trimming the fat from Rails in preparation for version 4 (which I appreciate).Do you think it'd make sense to also remove the test fixtures engine from Rails 4? From what I've seen, it's now more common to use more advanced solutions, with FactoryGirl leading the pack, and it's usually more practical to use Ruby to define fixtures, rather than YAML.More specifically:- would the core team approve of such effort?- how much work would it mean?- (related) how tightly are fixtures actually used within Rails' tests?It's hard to me to estimate the overall value/cost ratio, but if it's high enough, I'd be willing to take a shot at it.--Bye,Olek Janiszewski (exviva)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/MNYYrHc3b_gJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Friday, 6 July 2012 at 6:54, Steve Klabnik wrote:
Factories and factory_girl are one of the worst things to ever happen to Rails.I can't possibly see this ending as anything but a giant flamewar email thread.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/BXqUsA2xD94J.
I continue to use and love fixtures. I don't see them going anywhere. I've been entirely unconvinced by all the factory approaches I've seen so far.
But I'm always willing to look at good before/after code if someone wants to pitch this further.
On Thursday, July 5, 2012 1:48:45 PM UTC-5, Olek Janiszewski wrote:
Hi guys,
I've noticed the trend of trimming the fat from Rails in preparation for version 4 (which I appreciate).
Do you think it'd make sense to also remove the test fixtures engine from Rails 4? From what I've seen, it's now more common to use more advanced solutions, with FactoryGirl leading the pack, and it's usually more practical to use Ruby to define fixtures, rather than YAML.
More specifically:
- would the core team approve of such effort?- how much work would it mean?- (related) how tightly are fixtures actually used within Rails' tests?
It's hard to me to estimate the overall value/cost ratio, but if it's high enough, I'd be willing to take a shot at it.
My vote is to extract to a external gem.It's fine if you like fixtures, but it's fine if you like factories too.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
I see.What about release cycle?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.