The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
I created a blog to talk about how to customise Devise to support Multi-tenancy authentication. Enjoy!
Interrobang: convert your
bang_methods! without abusing
method_missing. There’s also a nifty aside in the README about testing rescue handlers. Also, did you know that
method! were lifted from Scheme?
Here https://github.com/TheBlasfem/ruby-patterns i’m sharing examples about ruby patterns, learned following the course https://code.tutsplus.com/courses/design-patterns-in-ruby
Want to learn how to write your very own Caesar cipher encoder? Have a read :) http://www.blackbytes.info/2015/03/caesar-cipher-in-ruby/
Points I’ve learned about getting things done with programming. http://6ftdan.com/allyourdev/2015/03/28/work-flow-and-making-progress/
Hello, over at the Planet Ruby the Gem of the Week series continues with #13 - props - yet another config (INI) reader - that lets you read in configuration settings in the Windows-inspired INI format and lets you link up settings in hashes in a lookup hierarchy and so on. Full article. Cheers.
If your exceptions aren’t exceptions but expectations, you’re doing it wrong. Raising (failing) and rescuing errors might look as a good idea but it isn’t. Read the article to find out why.
I’ve already written about how to monetize open source software using educational materials and hosting. Today’s article is about monetizing open source software using paid support services and providing value-added enhancements. Read the article to find out how others are successfully doing it.
How often do you need to delegate methods in Ruby? Do you remember the API to do that? How many ways are out there to do it? Find the answers: https://medium.com/@KamilLelonek/how-to-delegate-methods-in-ruby-a7a71b077d99
A basic overview of collection types available to you in Ruby. http://6ftdan.com/allyourdev/2015/03/26/different-collection-types-in-ruby/