Here at Resultados Digitais we were using a search gem called scoped_search. It is a great gem which allows every kind of complex search query, but there is one drawback: scoped_search uses the regular SQL database and every query results in lots of joins. As our user base grew and queries started to take a [...] » Continue reading.
RDstation‘s SSL birthday was about to come up, so we’ve updated it and this guide was spawned as a “by-product”. If you’re sane, go check the Gist: https://gist.github.com/lucasmartins/6067871 or If you like WordPress, keep reading. To generate the new SSL you need to follow these steps: [@dev] Generate a .CSR (a key text file); [@dev] [...] » Continue reading.
Recently gave a mini talk in our local Ruby User Group (GURU-SC) about some SaaS tools that are used in our development process to build our product (RD Station), facilitate operation the and improve infrastructure. This post will cover the first topic: development process. What do we use and how does it work? We use [...] » Continue reading.
Our team keeps growing. People want to use different operating systems and because they have different roles, like devs and designers, sometimes they don’t want (have) to directly deal with low level config stuff. That is why we decided to create a virtualized environment to run the application that is closely to Heroku Celadon Cedar [...] » Continue reading.
I had a portal in the past that I decided to shutdown. The portal used to have niche information about products and resellers, so users could search for products and contact them. Instead of just shutting down, I decided to keep a simple home page and allow future users to download a PDF with the [...] » Continue reading.
TextMate 2 got recently open-sourced and with that I reverted the decision to switch to Sublime Text 2. Sublime Text indeed has some edge over TextMate, but overall I believe TM is a more mature editor. TM2 has been showing a lot traction lately with several nightly builds being delivered in the last weeks. That [...] » Continue reading.
Tor is free software and an open network that allows people and groups to improve their privacy and security when navigating on the Internet. You can easily install it (works on Mac, Windows, Linux/UNIX and Android) and then start navigating anonymously. To learn more about how Tor works, please check https://www.torproject.org/about/overview.html I have created a [...] » Continue reading.
Heroku, a famous cloud application platform, was affected by Amazon outage a few weeks ago at 15/06. Unfortunately, due to this episode, one of my Rails app had a corrupted table on the shared database that it was running. The problem: A part of the application was broken and when a Ruby code tried to [...] » Continue reading.
The first thing you should do when need something during development is search for a gem. For this task, you can use ruby-toolbox.com, which rates and group gems, and rubygems.org, that hosts all the community gems. So, if you don’t find what you want or maybe if you just want something with a different approach, [...] » Continue reading.
Cucumber is a powerful tool to write BDD tests. You can write your scenarios and definitions with common language on an outside-in approach. A good (but little long) place to start learning it is at Cucumber backgrounder. I will bring some quick steps. Installing and configuring Install the gem at your machine $ gem install [...] » Continue reading.