<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>preprod Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/preprod/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/preprod/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Thu, 23 Oct 2025 13:57:01 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>preprod Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/preprod/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setup your Ruby on Rails Online Dev Environment</title>
		<link>https://www.clever.cloud/blog/engineering/2019/05/07/setup-your-ruby-on-rails-online-dev-environment/</link>
		
		<dc:creator><![CDATA[Valeriane Venance]]></dc:creator>
		<pubDate>Tue, 07 May 2019 13:35:00 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[dev env]]></category>
		<category><![CDATA[preprod]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2019/05/07/setup-your-ruby-on-rails-online-dev-environment/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clevercloud dev env ror" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>In this tutorial we are going to install the latest version of RubyOnRails and deploy it on Clever Cloud to use it as a development environment.

<span id="more-2820"></span>
<h2 id="prerequisites">Prerequisites</h2>
This article presumes you already are a RubyOnRails developer. If you are not and want to learn RubyOnRails, <a href="https://guides.rubyonrails.org/getting_started.html">start here</a> with the official documentation.

From the technical point of view, I presume you already have an installed ruby version &gt;= 2.5.0 and a version of rubygems &gt;= 1.8.11.

I also assume you know what Clever Cloud is. If you don't you maybe want to read <a href="https://www.clever.cloud/en/">this</a> first.
<h2 id="rails-local-installation">Rails local installation</h2>
In your favorite terminal type <code>$ gem install rails --pre</code>. Of course you can install any rails version you would like to use with <code>$ gem install rails -v X.X.X</code>.

After the installation logs, type in <code>$ rails new &lt;your_project_name&gt;</code> then <code>$ cd &lt;your_project_name&gt;</code>.

From now I will always assume your are currently located at this path in your terminal.
<h2 id="super-fast-version">Super fast version</h2>
If you prefer to read the docs, here is all you need:
<ul>
 	<li><a href="https://www.clever.cloud/developers/doc/applications/ruby/">Deploying ruby on rails application.</a></li>
 	<li><a href="https://www.clever.cloud/developers/addons/postgresql/">Docs for PostgreSQL add-on</a>.</li>
 	<li><a href="https://www.clever.cloud/developers/addons/fs_buckets/">Docs for FSBuckets filestystems</a>(optional).</li>
 	<li><a href="https://www.clever.cloud/developers/clever-tools/getting_started/">Docs for the clever-tools CLI</a>.</li>
</ul>
<h2 id="step-by-step-version">Step by step version</h2>
<h2 id="get-your-app-ready-for-production">Get your app ready for production</h2>
<h3 id="database-settings">Database settings</h3>
With your favorite text editor open <code>./config/database.yml</code>. Replace the generated content at <code>default: &amp;default</code> with
<pre><code class="language-yaml">default: &amp;default
  adapter: postgresql
  encoding: unicode
  timeout: 5000
</code></pre>
do the same with what's under <code>production:</code> with
<pre><code class="language-yaml">production:
  &lt;&lt;: *default
  database: &lt;%= ENV['POSTGRESQL_ADDON_DB'] %&gt;
  username: &lt;%= ENV['POSTGRESQL_ADDON_USER'] %&gt;
  password: &lt;%= ENV['POSTGRESQL_ADDON_PASSWORD'] %&gt;
  host: &lt;%= ENV['POSTGRESQL_ADDON_HOST'] %&gt;
  port: &lt;%= ENV['POSTGRESQL_ADDON_PORT'] %&gt;
</code></pre>
Save the file.
<h3 id="dependencies-settings">Dependencies settings</h3>
Open <code>./Gemfile</code> with your text editor and replace
<pre><code class="language-bash"># Use sqlite3 as the database for Active Record
gem 'sqlite3', '~&gt; 1.4'
</code></pre>
with
<pre><code class="language-bash"># Use postgresql as the database for Active Record
gem 'pg'
</code></pre>
and save the file. Run <code>$ bundle install</code> to have <code>Gemfile.lock</code> updated.
<h3 id="deployment-orchestration-settings">Deployment orchestration settings</h3>
In your terminal create a new folder <code>$ mkdir clevercloud</code>

create a new file <code>$ touch clevercloud/ruby.json</code>.

Open the new file <code>./clevercloud/ruby.json</code> with a text editor and add the following
<pre><code class="language-json">{
  "deploy" : {
    "rakegoals": ["db:migrate", "assets:precompile"],
    "static": "/public"
  }
}
</code></pre>
Don't forget to commit your file and push it.
<h2 id="clever-cloud-configuration">Clever Cloud configuration</h2>
<h3 id="i-dont-have-an-account">I don't have an account</h3>
Simply sign up <a href="https://api.clever-cloud.com/v2/session/signup">here</a>. You will get an email for email address validation. Just click the link, you will be redirected to the Clever Cloud console with your free credits unlocked.

Jump to <strong>Creating the application</strong> section and skip the login part.
<h3 id="i-have-an-account">I have an account</h3>
Go to the <a href="https://console.clever-cloud.com/">Clever Cloud console</a> and log in.
<h3 id="creating-the-application">Creating the application</h3>
You are now logged in the Clever Cloud console. Under your organisation select <code>+ Create</code>, on the next screen click <code>Brand new app</code>.

Select the <code>Ruby</code> language, click <code>Edit</code> and select the CPU size you need. I would suggest for a dev environment you select the smallest one and scale when you need more resources. Finish editing this part with <code>Next</code>.

Name your application in the following screen, for next references to that name, I will use <code>&lt;your_application_name&gt;</code>. Add a little description if you want to. Select your deployment zone (where the code will be physically hosted) and finish this section with next.
<h3 id="database-setup">Database setup</h3>
On the next screen, scroll until you find <code>PostgreSQL</code> and select this add-on. Select the database size you need and click <code>Next</code> in the bottom right. Name your database and select the same location as the one you picked for your ruby application.
<h3 id="setting-environment-variables">Setting environment variables</h3>
In the following screen you see an interface to add additional environment variables. Don't change or erase those already set up, unless you know what you are doing and why you need to do so.
<h4 id="secret_key_base">SECRET_KEY_BASE</h4>
In your terminal generate a secret key with <code>$ rake secret</code>. Copy the key you obtained and paste it in the Clever Cloud console as an environment variable value under those already present. As a name, use <code>SECREY_KEY_BASE</code> and click <code>ADD</code>.
<h4 id="ruby_version">RUBY_VERSION</h4>
Check if a ruby version is specified with <code>$ cat ./Gemfile</code>. If so click <code>Next</code> and go straight to the next chapter.

If not use your ruby version manager to check the current version. E.g with <a href="https://rvm.io/">rvm</a>: <code>$ rvm current</code> Output: <code>$ ruby-2.6.0</code> So in the environment variables editor add <code>RUBY_VERSION</code> as name, and in this case <code>2.6.0</code> as value. Click <code>ADD</code>, then <code>Next</code>.
<h3 id="i-need-a-filesystem">I need a filesystem</h3>
Click on the left panel on <code>+ Create</code> and this time, select <code>an add-on</code>, and scroll until you find <code>FS Bucket</code>. Just click <code>Next</code> on the following screen. A list of your applications will be displayed. Link it with <code>&lt;your_application_name&gt;</code>. Select <code>Next</code> again, and now, name your Bucket and select the same deployment zone as for your application and database. <code>Next</code>.
<h2 id="deploying-the-application">Deploying the application!</h2>
We will use the <a href="https://github.com/CleverCloud/clever-tools">Clever Cloud CLI</a> for that.
<h3 id="the-clever-cloud-cli">The Clever Cloud CLI</h3>
most common installations:

<strong>npm</strong>: <code>$ npm install -g clever-tools</code>

<strong>brew</strong>: <code>$ brew install CleverCloud/homebrew-tap/clever-tools</code>

<strong>linux</strong>:
<pre><code class="language-bash">$ curl https://clever-tools.cellar.services.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz
$ tar xvzf clever-tools-latest_linux.tar.gz
$ cp clever-tools-latest_linux/clever ~/.local/bin/
</code></pre>
For extended informations, check out <a href="https://www.clever.cloud/developers/clever-tools/getting_started/">this guide</a>.

Once the CLI is installed, login with <code>$ clever login</code>. A browser page will open. Enter your Clever Cloud account's credentials and go back to your terminal.

Link your application with <code>$ clever link &lt;your_application_name&gt;</code>.

If for some reason you have <code>$ [ERROR] Application not found</code> as an output, in the Clever Cloud console go in <code>&lt;your_application_name&gt;</code> and select the <code>Information</code> menu.

Copy the value of <code>Application ID</code> and in your terminal now type <code>$ clever link &lt;the value of Application ID&gt;</code>.
<h4 id="i-have-a-filesystem-only-if-you-have-followed-i-need-a-filesystem">I have a filesystem (only if you have followed #I need a filesystem)</h4>
Go in the Clever Cloud console, and find the <code>Informations</code> page of the File System Bucket you previously created.

Copy the first environment variable displayed, it should look as follows:

<code>CC_FS_BUCKET=/some/empty/folder:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.

Split it in two variables like: <code>CC_FS_BUCKET</code> and replace <code>/some/empty/folder</code> with <code>/public/bucket</code>.

You will end up with something like <code>/public/bucket:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.

Now type in your terminal <code>$ clever env set CC_FS_BUCKET /public/bucket:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.
<h3 id="deployment">Deployment</h3>
Just write in your terminal <code>$ clever deploy</code>. From that point, you will see your deployment logs in your terminal and will be able to see them in your Clever Cloud console in your browser. Visit your application with <code>$ clever open</code> once deployment phase is completed.

Of course you will see a screen like this on the first time you connect to your application. It's because there are no URLs generated in our <code>config/routes.rb</code> at this point.
<figure><img style="width: 450px; margin: 0 auto; display: block; max-width: 100%;" src="https://cdn.clever-cloud.com/uploads/2021/08/rails-no-controller.png" alt="Rails no controller error page" /></figure>
<h2 id="happy-coding">Happy coding!</h2>
You definitely can use this fresh template as a development environment. Here is a little extra if you don't know how to keep your commits clean while deploying them in pre-production.
<h3 id="my-workflow-to-use-clever-cloud-as-dev-env">My workflow to use Clever Cloud as dev env</h3>
<ul>
 	<li>I locally create a git branch with <code>git checkout -b &lt;my_branch_name&gt;</code>, the name evokes the feature I'll be working on.</li>
 	<li>I use <a href="https://en.wikipedia.org/wiki/Test-driven_development">TDD</a> as coding methodology (on rails I'd suggest you start with <a href="https://github.com/thoughtbot/factory_bot">FactoryBot</a> and <a href="http://rspec.info/">RSpec</a>) so I code all my tests for the feature, then commit them all on my branch.</li>
 	<li>I code my feature and create a new commit.</li>
 	<li>I can test on production conditions how the modifications behave by pushing my specific branch to master by doing <code>$ git push clever my_branch_name:master</code> (you need to push local commits on your branch before).</li>
 	<li>If I'm not satisfied with the changes I can make new changes, add the files to git then <code>$ git commit --amend</code> to add the modifications to the <em>last</em> commit without having to make a new one.</li>
</ul>
This way I can see the changes without having to edit directly on master.

You just need to redeploy your application with <code>$ clever restart</code> to get master back at its original state.]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clevercloud dev env ror" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clevercloud-dev-env-ror-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>In this tutorial we are going to install the latest version of RubyOnRails and deploy it on Clever Cloud to use it as a development environment.

<span id="more-2820"></span>
<h2 id="prerequisites">Prerequisites</h2>
This article presumes you already are a RubyOnRails developer. If you are not and want to learn RubyOnRails, <a href="https://guides.rubyonrails.org/getting_started.html">start here</a> with the official documentation.

From the technical point of view, I presume you already have an installed ruby version &gt;= 2.5.0 and a version of rubygems &gt;= 1.8.11.

I also assume you know what Clever Cloud is. If you don't you maybe want to read <a href="https://www.clever.cloud/en/">this</a> first.
<h2 id="rails-local-installation">Rails local installation</h2>
In your favorite terminal type <code>$ gem install rails --pre</code>. Of course you can install any rails version you would like to use with <code>$ gem install rails -v X.X.X</code>.

After the installation logs, type in <code>$ rails new &lt;your_project_name&gt;</code> then <code>$ cd &lt;your_project_name&gt;</code>.

From now I will always assume your are currently located at this path in your terminal.
<h2 id="super-fast-version">Super fast version</h2>
If you prefer to read the docs, here is all you need:
<ul>
 	<li><a href="https://www.clever.cloud/developers/doc/applications/ruby/">Deploying ruby on rails application.</a></li>
 	<li><a href="https://www.clever.cloud/developers/addons/postgresql/">Docs for PostgreSQL add-on</a>.</li>
 	<li><a href="https://www.clever.cloud/developers/addons/fs_buckets/">Docs for FSBuckets filestystems</a>(optional).</li>
 	<li><a href="https://www.clever.cloud/developers/clever-tools/getting_started/">Docs for the clever-tools CLI</a>.</li>
</ul>
<h2 id="step-by-step-version">Step by step version</h2>
<h2 id="get-your-app-ready-for-production">Get your app ready for production</h2>
<h3 id="database-settings">Database settings</h3>
With your favorite text editor open <code>./config/database.yml</code>. Replace the generated content at <code>default: &amp;default</code> with
<pre><code class="language-yaml">default: &amp;default
  adapter: postgresql
  encoding: unicode
  timeout: 5000
</code></pre>
do the same with what's under <code>production:</code> with
<pre><code class="language-yaml">production:
  &lt;&lt;: *default
  database: &lt;%= ENV['POSTGRESQL_ADDON_DB'] %&gt;
  username: &lt;%= ENV['POSTGRESQL_ADDON_USER'] %&gt;
  password: &lt;%= ENV['POSTGRESQL_ADDON_PASSWORD'] %&gt;
  host: &lt;%= ENV['POSTGRESQL_ADDON_HOST'] %&gt;
  port: &lt;%= ENV['POSTGRESQL_ADDON_PORT'] %&gt;
</code></pre>
Save the file.
<h3 id="dependencies-settings">Dependencies settings</h3>
Open <code>./Gemfile</code> with your text editor and replace
<pre><code class="language-bash"># Use sqlite3 as the database for Active Record
gem 'sqlite3', '~&gt; 1.4'
</code></pre>
with
<pre><code class="language-bash"># Use postgresql as the database for Active Record
gem 'pg'
</code></pre>
and save the file. Run <code>$ bundle install</code> to have <code>Gemfile.lock</code> updated.
<h3 id="deployment-orchestration-settings">Deployment orchestration settings</h3>
In your terminal create a new folder <code>$ mkdir clevercloud</code>

create a new file <code>$ touch clevercloud/ruby.json</code>.

Open the new file <code>./clevercloud/ruby.json</code> with a text editor and add the following
<pre><code class="language-json">{
  "deploy" : {
    "rakegoals": ["db:migrate", "assets:precompile"],
    "static": "/public"
  }
}
</code></pre>
Don't forget to commit your file and push it.
<h2 id="clever-cloud-configuration">Clever Cloud configuration</h2>
<h3 id="i-dont-have-an-account">I don't have an account</h3>
Simply sign up <a href="https://api.clever-cloud.com/v2/session/signup">here</a>. You will get an email for email address validation. Just click the link, you will be redirected to the Clever Cloud console with your free credits unlocked.

Jump to <strong>Creating the application</strong> section and skip the login part.
<h3 id="i-have-an-account">I have an account</h3>
Go to the <a href="https://console.clever-cloud.com/">Clever Cloud console</a> and log in.
<h3 id="creating-the-application">Creating the application</h3>
You are now logged in the Clever Cloud console. Under your organisation select <code>+ Create</code>, on the next screen click <code>Brand new app</code>.

Select the <code>Ruby</code> language, click <code>Edit</code> and select the CPU size you need. I would suggest for a dev environment you select the smallest one and scale when you need more resources. Finish editing this part with <code>Next</code>.

Name your application in the following screen, for next references to that name, I will use <code>&lt;your_application_name&gt;</code>. Add a little description if you want to. Select your deployment zone (where the code will be physically hosted) and finish this section with next.
<h3 id="database-setup">Database setup</h3>
On the next screen, scroll until you find <code>PostgreSQL</code> and select this add-on. Select the database size you need and click <code>Next</code> in the bottom right. Name your database and select the same location as the one you picked for your ruby application.
<h3 id="setting-environment-variables">Setting environment variables</h3>
In the following screen you see an interface to add additional environment variables. Don't change or erase those already set up, unless you know what you are doing and why you need to do so.
<h4 id="secret_key_base">SECRET_KEY_BASE</h4>
In your terminal generate a secret key with <code>$ rake secret</code>. Copy the key you obtained and paste it in the Clever Cloud console as an environment variable value under those already present. As a name, use <code>SECREY_KEY_BASE</code> and click <code>ADD</code>.
<h4 id="ruby_version">RUBY_VERSION</h4>
Check if a ruby version is specified with <code>$ cat ./Gemfile</code>. If so click <code>Next</code> and go straight to the next chapter.

If not use your ruby version manager to check the current version. E.g with <a href="https://rvm.io/">rvm</a>: <code>$ rvm current</code> Output: <code>$ ruby-2.6.0</code> So in the environment variables editor add <code>RUBY_VERSION</code> as name, and in this case <code>2.6.0</code> as value. Click <code>ADD</code>, then <code>Next</code>.
<h3 id="i-need-a-filesystem">I need a filesystem</h3>
Click on the left panel on <code>+ Create</code> and this time, select <code>an add-on</code>, and scroll until you find <code>FS Bucket</code>. Just click <code>Next</code> on the following screen. A list of your applications will be displayed. Link it with <code>&lt;your_application_name&gt;</code>. Select <code>Next</code> again, and now, name your Bucket and select the same deployment zone as for your application and database. <code>Next</code>.
<h2 id="deploying-the-application">Deploying the application!</h2>
We will use the <a href="https://github.com/CleverCloud/clever-tools">Clever Cloud CLI</a> for that.
<h3 id="the-clever-cloud-cli">The Clever Cloud CLI</h3>
most common installations:

<strong>npm</strong>: <code>$ npm install -g clever-tools</code>

<strong>brew</strong>: <code>$ brew install CleverCloud/homebrew-tap/clever-tools</code>

<strong>linux</strong>:
<pre><code class="language-bash">$ curl https://clever-tools.cellar.services.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz
$ tar xvzf clever-tools-latest_linux.tar.gz
$ cp clever-tools-latest_linux/clever ~/.local/bin/
</code></pre>
For extended informations, check out <a href="https://www.clever.cloud/developers/clever-tools/getting_started/">this guide</a>.

Once the CLI is installed, login with <code>$ clever login</code>. A browser page will open. Enter your Clever Cloud account's credentials and go back to your terminal.

Link your application with <code>$ clever link &lt;your_application_name&gt;</code>.

If for some reason you have <code>$ [ERROR] Application not found</code> as an output, in the Clever Cloud console go in <code>&lt;your_application_name&gt;</code> and select the <code>Information</code> menu.

Copy the value of <code>Application ID</code> and in your terminal now type <code>$ clever link &lt;the value of Application ID&gt;</code>.
<h4 id="i-have-a-filesystem-only-if-you-have-followed-i-need-a-filesystem">I have a filesystem (only if you have followed #I need a filesystem)</h4>
Go in the Clever Cloud console, and find the <code>Informations</code> page of the File System Bucket you previously created.

Copy the first environment variable displayed, it should look as follows:

<code>CC_FS_BUCKET=/some/empty/folder:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.

Split it in two variables like: <code>CC_FS_BUCKET</code> and replace <code>/some/empty/folder</code> with <code>/public/bucket</code>.

You will end up with something like <code>/public/bucket:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.

Now type in your terminal <code>$ clever env set CC_FS_BUCKET /public/bucket:bucket-your-bucket-id-fsbucket.services.clever-cloud.com</code>.
<h3 id="deployment">Deployment</h3>
Just write in your terminal <code>$ clever deploy</code>. From that point, you will see your deployment logs in your terminal and will be able to see them in your Clever Cloud console in your browser. Visit your application with <code>$ clever open</code> once deployment phase is completed.

Of course you will see a screen like this on the first time you connect to your application. It's because there are no URLs generated in our <code>config/routes.rb</code> at this point.
<figure><img style="width: 450px; margin: 0 auto; display: block; max-width: 100%;" src="https://cdn.clever-cloud.com/uploads/2021/08/rails-no-controller.png" alt="Rails no controller error page" /></figure>
<h2 id="happy-coding">Happy coding!</h2>
You definitely can use this fresh template as a development environment. Here is a little extra if you don't know how to keep your commits clean while deploying them in pre-production.
<h3 id="my-workflow-to-use-clever-cloud-as-dev-env">My workflow to use Clever Cloud as dev env</h3>
<ul>
 	<li>I locally create a git branch with <code>git checkout -b &lt;my_branch_name&gt;</code>, the name evokes the feature I'll be working on.</li>
 	<li>I use <a href="https://en.wikipedia.org/wiki/Test-driven_development">TDD</a> as coding methodology (on rails I'd suggest you start with <a href="https://github.com/thoughtbot/factory_bot">FactoryBot</a> and <a href="http://rspec.info/">RSpec</a>) so I code all my tests for the feature, then commit them all on my branch.</li>
 	<li>I code my feature and create a new commit.</li>
 	<li>I can test on production conditions how the modifications behave by pushing my specific branch to master by doing <code>$ git push clever my_branch_name:master</code> (you need to push local commits on your branch before).</li>
 	<li>If I'm not satisfied with the changes I can make new changes, add the files to git then <code>$ git commit --amend</code> to add the modifications to the <em>last</em> commit without having to make a new one.</li>
</ul>
This way I can see the changes without having to edit directly on master.

You just need to redeploy your application with <code>$ clever restart</code> to get master back at its original state.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
