Coder Social home page Coder Social logo

Comments (6)

jferris avatar jferris commented on June 18, 2024

I would have done this originally except that factory_girl has an underscore in the name, and I think the combination of underscores in hyphens ("factory_girl-rails") is pretty ugly. That being said, I'm not opposed to renaming it if a number of people are annoyed by the inconsistency.

from factory_bot_rails.

bcardarella avatar bcardarella commented on June 18, 2024

I guess I can see that, I'm just looking at it as name-adapter_for. So the name does a camelcase mapping to the class. And the adapter_for is always easily detectable. I'll see if I can get some people to comment. It would be nice if the community could standardize on something.

from factory_bot_rails.

bcardarella avatar bcardarella commented on June 18, 2024

Just realized how stupid the 'camelcase' argument is with 'rspec' -> RSpec. But I think you know what I mean

from factory_bot_rails.

soffes avatar soffes commented on June 18, 2024

"factory_girl-rails" doesn't bother me that much when you mention camelcase mapping to the class.

from factory_bot_rails.

francois avatar francois commented on June 18, 2024

I'm fine with using both as well. It makes it clear what belongs to what.

from factory_bot_rails.

jferris avatar jferris commented on June 18, 2024

I've thought about this, and I don't think there's a strong enough convention in the community that I'm willing to use "factory_girl-rails" because of how ugly I think the mixed underscores and dashes are. Thanks for your input.

from factory_bot_rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.