<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>43waves</title>
<link href="http://43waves.us/atom.xml" rel="self" />
<link href="http://43waves.us" />
<updated>2013-08-07 20:17:30 -0700</updated>
<id>http://43waves.us</id>
<author>
  <name>43waves</name>
</author>


<entry>
  <title>Ruby Gem - Annotate</title>
  <link href="http://43waves.us/2012/10/ruby-gem-annotate" />
  <updated>2012-10-22 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/ruby-gem-annotate</id>
  <content type="html">&lt;p&gt;Annotate adds schema information into model file.&lt;/p&gt;

&lt;p&gt;We will annotate schema information for User model in example below.&lt;/p&gt;

&lt;p&gt;Open a terminal, at project directory, run:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;bundle &lt;span class=&quot;nb&quot;&gt;exec &lt;/span&gt;annotate User
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Schema information is added on top of &lt;code&gt;/&amp;lt;project&amp;gt;/app/model/User.rb&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;  &lt;span class=&quot;c1&quot;&gt;# == Schema Information&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;# Table name: users&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  id              :integer          not null, primary key&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  name            :string(255)&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  email           :string(255)&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  created_at      :datetime         not null&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  updated_at      :datetime         not null&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  password_digest :string(255)&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  remember_token  :string(255)&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;#  admin           :boolean          default(FALSE)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Every time the model changed, rerun the command to update the new schema information.&lt;/p&gt;
</content>
</entry>

<entry>
  <title>Git - Add Color</title>
  <link href="http://43waves.us/2012/10/git-add-color" />
  <updated>2012-10-22 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/git-add-color</id>
  <content type="html">&lt;p&gt;Open a terminal and run this:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;git config --global color.ui auto
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;You&amp;rsquo;re in a colorful world now. :smile:&lt;/p&gt;
</content>
</entry>

<entry>
  <title>Stay Tuned</title>
  <link href="http://43waves.us/2012/10/stay-tuned" />
  <updated>2012-10-21 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/stay-tuned</id>
  <content type="html">&lt;p&gt;There will be continuous small changes in this site.&lt;/p&gt;

&lt;p&gt;Stay tuned! :smile:&lt;/p&gt;
</content>
</entry>

<entry>
  <title>Logo</title>
  <link href="http://43waves.us/2012/10/logo" />
  <updated>2012-10-21 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/logo</id>
  <content type="html">&lt;p&gt;We need a logo!&lt;/p&gt;

&lt;p&gt;Something in cloud, sand, and water color.&lt;/p&gt;

&lt;p&gt;And the number 43!&lt;/p&gt;
</content>
</entry>

<entry>
  <title>Jekyll</title>
  <link href="http://43waves.us/2012/10/jekyll" />
  <updated>2012-10-21 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/jekyll</id>
  <content type="html">&lt;p&gt;This site is powered by &lt;a href=&quot;http://jekyllrb.com/&quot;&gt;jekyll&lt;/a&gt;.&lt;/p&gt;
</content>
</entry>

<entry>
  <title>Intro</title>
  <link href="http://43waves.us/2012/10/intro" />
  <updated>2012-10-21 00:00:00 -0700</updated>
  <id>http://43waves.us/2012/10/intro</id>
  <content type="html">&lt;p&gt;Hola!&lt;/p&gt;

&lt;p&gt;43waves ain&amp;rsquo;t waves, but it&amp;rsquo;s a software company.&lt;/p&gt;

&lt;p&gt;Contact us if you need help in software!&lt;/p&gt;
</content>
</entry>


</feed>
