× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Add dynamic configuration to ruby gem, configure devise to only allow users to sign up new users

John Hamelink
Sep 01, 2014
<p><strong>Q: What was the request about? </strong></p> <p>Josh wanted to extend his gem to use a dynamic configuration he could set within a rails initializer.</p> <p><strong>Q: How did you help with the request?</strong></p> <p>I showed Josh how to harness yields to build a static configuration which he could use inside a rails initializer.</p> <p>I helped Josh set up a private gem repository to store his gem</p> <p>I helped Josh build a devise controller which would allow the creation of new users only for admins.</p> <strong>Q: Any best practices &amp; key learnings you can share?</strong><p></p> <p>GemFury is a good way of storing and distributing private ruby gems</p>