Giter VIP home page Giter VIP logo

Comments (5)

deanpcmad avatar deanpcmad commented on September 17, 2024

I'll look into that. I may use the rails_config gem by fredwu

Sent from my iPhone

On 20 Jul 2012, at 10:31, Robert [email protected] wrote:

I just wonder if we could rethinking the concept of config file

take a look on this example:
http://blog.douglasfshearer.com/post/17547048208/simple-rails-config

Is simple, good looking and easy to use.

example:

App.config.available_languages

instead:

HADEAN_CONFIG['available_languages']

What do you think?


Reply to this email directly or view it on GitHub:
#51

from ror_ecommerce.

mitfik avatar mitfik commented on September 17, 2024

just keep in mind that his fork is not latest and better will be to check this one:
https://github.com/railsjedi/rails_config

Is quite good piece of code and I like it. I just wonder why they provide support for sinatra if there is already build in "setting manager" there. But any way is simple and looks good.

from ror_ecommerce.

deanpcmad avatar deanpcmad commented on September 17, 2024

Ah yes, that's the one. I just knew fredwu contributes to it :)

from ror_ecommerce.

drhenner avatar drhenner commented on September 17, 2024

Looks good to me. My only requirement is that the config.yml or settings.yml is not checked into source for security reasons.

from ror_ecommerce.

mitfik avatar mitfik commented on September 17, 2024

I prepare branch with working new config support and also prepare some description about how it works:

https://github.com/drhenner/ror_ecommerce/wiki/Settings

branch:

https://github.com/mitfik/ror_ecommerce/tree/config

As soon I will test it I will make pull request.
give me know what do you think about that.

from ror_ecommerce.

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.