Having real screenshot of a failed integration spec can save hours of debugging. We had screenshot with error on the local development environment, and wanted to have it on Continuous Integration server. Luckily for us, it’s a real no-brainer, if you use CircleCI. There is no need for custom S3 …
Railsware Blog
on product management, engineering, design, culture and many more...
Responsive layout tests with Capybara and RSpecResponsive web design is not a feature these days, bur rather a must. So, while implementing responsive layout in your application, you might find helpful adding verifications to your acceptance tests and ensure accessibility/inaccessibility to your app functionality depending on the screen size. Capybara has a method to resize the …
Responsive web design is not a feature these days, bur rather a must. So, while implementing responsive layout in your application, you might find helpful adding verifications to your acceptance tests and ensure accessibility/inaccessibility to your app functionality depending on the screen size. Capybara has a method to resize the …
SQL Joins Visualizer – build SQL JOIN between two tables by using Venn diagramsHello my dear friends.Today we will learn about SQL Joins and my new little app that helps to build and understand them. SQL join A SQL join clause combines records from two or more tables in a database. It creates a set that can be saved as a table or …
Hello my dear friends.Today we will learn about SQL Joins and my new little app that helps to build and understand them. SQL join A SQL join clause combines records from two or more tables in a database. It creates a set that can be saved as a table or …
Flexbox as a solution for browser reflow optimizationWhile we’ve been developing one of our products (Mailtrap), we needed to create 2 column page layout with inner blocks stretching down to the whole height of browser window with sticky footer and header. The page layout looks like this:This layout has several nesting levels which makes it more complicated to …
While we’ve been developing one of our products (Mailtrap), we needed to create 2 column page layout with inner blocks stretching down to the whole height of browser window with sticky footer and header. The page layout looks like this:This layout has several nesting levels which makes it more complicated to …
Make AngularJS 1.0.7 work with Jasmine 2.0During setup of Jasmine 2.0 for AngularJS 1.0.7 application it turned out that they are not compatible. The reason is that Angular 1.0.7 is compatible with the older version of Jasmine – 1.3. And there were several breaking changes in Jasmine private API which was used by AngularJS. There were …
During setup of Jasmine 2.0 for AngularJS 1.0.7 application it turned out that they are not compatible. The reason is that Angular 1.0.7 is compatible with the older version of Jasmine – 1.3. And there were several breaking changes in Jasmine private API which was used by AngularJS. There were …
Git Clean-up in Local and Remote Branches, RepositoriesAfter working with branch per feature for a while any Git-repository becomes a mess of outdated and not finished branches. To deal with this issue, we need to clean-up three kinds of branches: In this tutorial we suppose, that “master” – is a default branch, where everything is merged (for …
After working with branch per feature for a while any Git-repository becomes a mess of outdated and not finished branches. To deal with this issue, we need to clean-up three kinds of branches: In this tutorial we suppose, that “master” – is a default branch, where everything is merged (for …
Rails logging into several backendsSometimes, it’s required to setup Rails logger for storing logs into several backends. In our case we decided to use Loggly, but also wanted to leave old file-based logging. Despite the actual solution is very simple, it’s hard to find it. The best match on StackOverflow suggests to create some …
Sometimes, it’s required to setup Rails logger for storing logs into several backends. In our case we decided to use Loggly, but also wanted to leave old file-based logging. Despite the actual solution is very simple, it’s hard to find it. The best match on StackOverflow suggests to create some …
Creating custom HTML elements with Web ComponentsWeb Components Web Components are a collection of standards which are currently actively supported by google and mozilla teams. The core idea is that they allow us to bundle markup, styles and javascript functionality into custom HTML elements. And great thing about these new elements is that they fully encapsulate …
Web Components Web Components are a collection of standards which are currently actively supported by google and mozilla teams. The core idea is that they allow us to bundle markup, styles and javascript functionality into custom HTML elements. And great thing about these new elements is that they fully encapsulate …
Share Rails configuration to JavascriptThe usual way of storing Rails configuration data are YAML files. In one of our previous posts, we talked about proper way of dealing with Rails configuration. Nowadays, Javascript applications built on top of RESTful API are common practice, and in cases like this configuration data might be duplicated across …
The usual way of storing Rails configuration data are YAML files. In one of our previous posts, we talked about proper way of dealing with Rails configuration. Nowadays, Javascript applications built on top of RESTful API are common practice, and in cases like this configuration data might be duplicated across …
BDD-style testing in Swift with SleipnirIntroduction In Objective-C people use different frameworks to write BDD-style tests for their code. Some of them are: CedarKiwiSpecta With the inroduction of Swift we’ve decided to create BDD-style testing framework in pure Swift.After a couple weeks of implementation we are making the first public version of the framework called …
Introduction In Objective-C people use different frameworks to write BDD-style tests for their code. Some of them are: CedarKiwiSpecta With the inroduction of Swift we’ve decided to create BDD-style testing framework in pure Swift.After a couple weeks of implementation we are making the first public version of the framework called …