RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

manualwise — 42 posts

Repository Driven Infrastructure helps managing your infrastructure from your repository. Developers describe their intent to deploy, the system picks it up and follows through on it.

Repository Driven Infrastructure
This article writes about speeding up a rails rest suite significantly by avoiding common pitfalls. This part of the series talks about cucumber improvements and using poltergeist.

How I sped up our Rails Test Suite by 267%
For anybody using Ninefold and/or Codeship: The two services now integrate.

You can read more here.
For anybody using Cloud 66 and/or Codeship: The two services now integrate and it only takes one line of code to set everything up.

You can read more here.
How to set up Continuous Deployment of DNS Records with the help of DNSimple and tools you already use and are familiar with.

This workflow makes changes to your DNS zone transparent and comprehensible for everybody in your team.

DNSdeploy - Continuous Deployment of DNS Records
Grab this free re-usable snippet to integrate Deployment Tracking with Rollbar into your Deployment Process.

Tracking Deployments with Rollbar – Free Snippet
Realtime Messaging in your apps is very powerful. Here's how to send 1.3 Million Message every day with PusherApp and the Pusher Gem.

Realtime Messaging with Pusher
Effective business communication heightens productivity. An important step in increasing communication and decreasing inefficiencies is to eliminate assumptions.

By iterating with the business using Behavior Driven Development tools like Cucumber, we’re able to account for discrepancies in interpretations and speed up the development process over the long term while allowing changing requirements from the business.

How to Improve Business Communication with Behavior Driven Development
AWS provides great tools to handle keys, authentication and security. Here’s a simple setup how to quickly make your AWS Infrastructure more secure with the Identity and Access Management (IAM).

Securing your AWS Infrastructure with IAM
Pedro Belo explains Zero Downtime Deployment and his process of changing a Rails database without introducing any downtime.

Rails Migrations with no Downtime
In this tutorial you will learn how to generate static pages with Middleman and set up Continuous Deployment to Amazon S3 with Codeship.

Using Middleman and Codeship to continuously deploy static pages to Amazon S3
Two best practices that have gained a lot of traction over the last years in software development are Continuous Integration and Continuous Deployment. Read about their benefits and how you can start using them in this article.

Why You Should Use Continuous Integration and Continuous Deployment
A tutorial about Memory Monitoring and Limiting with LXC (Linux Containers) and the importance of building a metrics infrastructure.

Memory Monitoring And Limiting With LXC
In this tutorial you will learn how to set up Continuous Integration and Deployment for your static pages with Middleman App, Codeship and GitHub pages.

Continuous Deployment for static pages
Without proper tests you won’t be able to truly verify if your controllers are thin and well designed.

Yes, You Should Write Controller Tests!
For anyone interested in Vagrant and Packer: Learn how to build Vagrant Machines with Packer to share a common development environment.

Building Vagrant Machines with Packer: A step-by-step Guide>/a>
Getting Puma to run on Heroku is very easy. You should be able to get everything up and running in minutes. Here is how.

Learn how to use the concurrent Ruby Web Server PUMA on Heroku
In this refactoring walk-through you will learn how small, incremental improvements to the design of a rails app and reducing the amount of coupling naturally lead to faster tests.

Slow Tests Are the Symptom, Not the Cause
Fast tests in Ruby on Rails
Developers need to be able to run tests quickly or they will stop running them. Learn how to speed up your tests in Ruby on Rails.

Fast tets in Ruby on Rails
Monica Wilkinson from Crushpath explains which services she used to build a Google Glass integration in under 2 weeks.

How to build a Google Glass integration in under 2 weeks
Learn how to rebuild an Immutable Infrastructure every day. Quickly iterate by monitoring key metrics and managing servers through management tools.

Efficiency in Development Workflows – Continuous Deployment of Immutable Build Servers
An interview with GrabCAD. Amos Benninga talks about Continuous Integration and Continuous Deployment and the advantages and disadvantages of using Ruby on Rails.

Interview: Continuous Integration and Continuous Deployment at GrabCAD>
Having a Deployment Pipeline in place is extremely helpful! Learn how to set it up and how to deploy to production servers with Zero Downtime Deployment.

Efficiency in Development Workflows: Deployment Pipelines and Zero Downtime Deployment
Learn how to reduce startup times for your Ruby on Rails test suite. We talk about dependencies, stubs and factories.

Faster test suite boot times with Ruby on Rails
Interested in the new book 'Cucumber Recipes' by Ian Dees, Matt Wynne and Aslak Hellesøy?

Read a review about it here
The Codeship now supports Continuous Integration and Deployment for BitBucket repositories! Learn how easy it is to get started.

Codeship launches BitBucket Integration
Watch this screencast to learn the best way how to set up Cucumber for your Ruby and Rails projects.

How to set up Cucumber for your Ruby and Rails projects
Integration tests vs. Bogus
Bogus verifies that you only stub real method calls. There must be a context in which the stubbed method acts the way you stubbed it, or Bogus will fail your tests. Therefore Bogus checks the contract between mocked components – something that you would usually use integration tests for.

Integration tests vs. Bogus
The best of EuRuKo 2013
We published our favorite moments of EuRuKo 2013. Check out some special appearances and hear Steve Klabnik's opinion about testing! "Matz" also shared his thoughts!

The best of EuRuKo 2013
Reliable mocks with Bogus
Mock with Bogus to avoid having to run your slow integration test suite everytime you refactor your code. Learn more about it in this screencast!

Reliable mocks with Bogus
Designing code with RSpec
Stubbing in RSpec lets you write the code you wish you had. Learn how to design your code before you implement it in this screencast!

Designing code with RSpec
Unit tests should focus on one thing: the component you are testing. Stubbing and Mocking in RSpec will get you there. Learn more in this screencast!

Stubbing and Mocking in RSpec
Traditionally application code is written first and tests afterwards. After writing a piece of code, you write unit tests. And once you finished a few pieces of code, you write integration tests to see if they fit together. In Behavior-Driven development there is an approach called Outside-In Development where we go the other way round. Have a look at this screencast to learn more!

Behavior-Driven Integration and Unit Testing
Continuous Deployment can be incorporated into every company. We held a meetup and talked to Etsy, GrabCAD and insightsquared how they did it.

Bringing Continuous Deployment to everyone
When writing software tests, you usually need to get your application into a certain state by creating test data. This test data is the basis to run your tests on. In this screencast you will learn about the test data generation tool factory_girl.

Managing test data with factory girl
Once you get started with Cucumber, the question is how to write your features. How can you keep your features maintainable so you don’t have to correct them after each change in the application? How can you reuse steps most efficiently? What are typical Cucumber smells?

Following is a list of 5 best practices that can help in your daily Cucumber life.

Top 5 Cucumber best practices
In this screencast we look at the two Selenium tools Selenium IDE and Selenium WebDriver. Selenium is a remote control for your browser. Selenium lets you perform browser actions by creating scripts instead of using your mouse or keyboard. Let's have a look!

Test your web apps with Selenium
Continuous Integration and Deployment speeds up your workflow tremendously. In this screencast we will deploy our Ruby on Rails app to Heroku. Hosted testing and automated deployment is provided by the Codeship. Learn more!

Codeship's Testing Tuesday #4: Continuous Integration and Deployment with Cucumber
When starting with continuous integration and deployment, code coverage is one of the tools that improve your workflow significantly.
Being able to quickly grasp which parts of your application aren't well tested is incredibly important. Especially tracking your code coverage over time is a powerful feature.
Test-driven development focuses on the developer's opinion on how parts of the software should work. Behavior-driven development focuses on the users' opinion on how they want your application to behave.

Testing Tuesday with Codeship #2: From Test-Driven Development to Behavior-Driven Development
Tests make Software
Behavior-driven development is a collection of tools and methodologies based on test-driven development. We will therefore cover the basics of test-driven development in this post.

Testing Tuesday with Codeship: Tests make Software
Continuous Integration provides sound economical benefits. This post examines the bottom-line advantages of Continuous Integration with respect to any business dealing with software deployment.

A Business Case for Continuous Integration