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 wrote a blog post about decoupling non-resourceful controllers from their complicated logic by introducing a pseudo resource.
Read the post here The gem is called app_configuration. I created this gem because in several Rails applications I had the problem of configuring third party services and I could not set sensitive information in the environment files. If you are doing this you shouldn’t. The major issue with setting sensitive information in the environment files is that (unless you don’t use any kind of VCS) you are versioning it.
Read why I rate this book as 3 out of 5 stars : Practical Object Oriented Design in Ruby Book Review
Opalist is an e-mail newsletter showcasing the latest news and tutorials in the Opal (Ruby-to-JS source compiler) ecosystem and cutting-edge front-end development. In our fourth issue, we cover a bunch of news in the world of Opal gems as well as a great screencast showing how to build highly-interactive apps via Volt.
AlchemyCMS looks like the perfect CMS in terms of it’s architecture and flexibility. It’s the best way to give your users freedom of changing page content while keeping everything under control in terms of structure and design. You don’t have to worry about your users messing up the view because they’re lacking the technical skills to write proper html/css. Read more
Rails offers a less error prone Hash collection type along with added some additional methods for convenience. http://6ftdan.com/allyourdev/2015/05/28/rails-hashwithindifferentaccess/
Just wrote a blog post about Form objects on rails, please enjoy: http://codingwithaxe.com/my-take-on-form-objects/
I wrote a post about how I’ve been simplifying my Active Record scopes that reference other models.