Near a year ago we looked for a geolocation solution to complement the functionality of one of our projects. We expected to deal with hundreds of thousands of records at the beginning and to grow up to 10-15 million records. Finally, we’ve picked up PostgreSQL and its PostGIS extension. We’ve …
Railsware Blog
on product management, engineering, design, culture and many more...
Futurico UI HTML based on Scaffy frameworkFuturico UI HTML is a web elements pack that has been created based on Scaffy framework by Railsware. This pack of ready to use Futurico UI HTML components has been created for designers & developers. There is no need to reinvent the wheel cutting such huge pack yourself. Every component …
Futurico UI HTML is a web elements pack that has been created based on Scaffy framework by Railsware. This pack of ready to use Futurico UI HTML components has been created for designers & developers. There is no need to reinvent the wheel cutting such huge pack yourself. Every component …
Ruby 2.0 Enumerable::LazyMy Enumerable::Lazy patch was accepted into ruby trunk few days ago. So, in ruby 2.0, we can go like this:
My Enumerable::Lazy patch was accepted into ruby trunk few days ago. So, in ruby 2.0, we can go like this:
CouchDB and CouchAppTo write a web application today there are many languages, frameworks and libraries. One of the main languages in this set is JavaScript, because this technique works in most browsers without any additional third-party libraries and is quite flexible. At the moment, it is possible to write entire applications to …
To write a web application today there are many languages, frameworks and libraries. One of the main languages in this set is JavaScript, because this technique works in most browsers without any additional third-party libraries and is quite flexible. At the moment, it is possible to write entire applications to …
Capybara with Given/When/Then steps in acceptance testingCapybara with Given/When/Then steps in acceptance testing. Many of us use cucumber to write acceptance tests.We must to say it’s very nice tool that allows you to write features in English plain text.The main goal is provide interface that should be clear for Customer(non-programmer) and Developer. Cucumber example: Feature: User …
Capybara with Given/When/Then steps in acceptance testing. Many of us use cucumber to write acceptance tests.We must to say it’s very nice tool that allows you to write features in English plain text.The main goal is provide interface that should be clear for Customer(non-programmer) and Developer. Cucumber example: Feature: User …
Accessing application session in CapybaraTrouble There are some cases when you may need to access application session in your tests: User signup or registration flow is too long.Application use another backend and store result into session. In each story you must repeat the same steps. You can actually use some shared code but it …
Trouble There are some cases when you may need to access application session in your tests: User signup or registration flow is too long.Application use another backend and store result into session. In each story you must repeat the same steps. You can actually use some shared code but it …
Testing gem integration with multiple ruby frameworksPreface When you develop some cool gem that should work in different ruby frameworksyou definitely should write acceptance tests. Nowadays it’s pretty easy to do with RSpec+Capybara. Your goal Assume you develop MyRackMiddleware gem that should work in Sinatra and Rails application. Your actions Create gem layout To create layout …
Preface When you develop some cool gem that should work in different ruby frameworksyou definitely should write acceptance tests. Nowadays it’s pretty easy to do with RSpec+Capybara. Your goal Assume you develop MyRackMiddleware gem that should work in Sinatra and Rails application. Your actions Create gem layout To create layout …
CapHub – multiple applications deployment with CapistranoToday we’ll talk about deploying multiple applications via single Capistrano project, managing its deployment configurations in a single place.This approach is a must for projects with multiple applications deployment and recommended for any other project using Capistrano for deployment.We’ve created a tool called Caphub for simplifying creation of multi-deployment Capistrano …
Today we’ll talk about deploying multiple applications via single Capistrano project, managing its deployment configurations in a single place.This approach is a must for projects with multiple applications deployment and recommended for any other project using Capistrano for deployment.We’ve created a tool called Caphub for simplifying creation of multi-deployment Capistrano …
Posting delivery events to Google CalendarIntroduction One day our client asked us about product deployment notification. Initially we wanted to use mail-list or create special skype chat, but it turned out to be unreliable and inconvenient: hard to filter notification emailshard to track deploment historynewly added person can’t observe old events So we “thinked differently”© …
Introduction One day our client asked us about product deployment notification. Initially we wanted to use mail-list or create special skype chat, but it turned out to be unreliable and inconvenient: hard to filter notification emailshard to track deploment historynewly added person can’t observe old events So we “thinked differently”© …
Advanced server definitions in CapistranoWhat if you have several servers with different users, ssh-keys, and even port numbers? How to manage all this stuff flexibly ? This tutorial covers poorly documented Capistrano features for advanced servers and roles configuration. Many of them obtained via digging into Capistrano sources. This article covers following Capistrano topics: …
What if you have several servers with different users, ssh-keys, and even port numbers? How to manage all this stuff flexibly ? This tutorial covers poorly documented Capistrano features for advanced servers and roles configuration. Many of them obtained via digging into Capistrano sources. This article covers following Capistrano topics: …