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

  <title></title>
  <link href="http://blog.lucasefe.com.ar/atom.xml" rel="self"/>
  <link href="http://blog.lucasefe.com.ar/"/>
  <updated>2012-05-05T14:14:09-03:00</updated>
  <id>http://blog.lucasefe.com.ar/</id>
  <author>
    <name>Lucas Efe</name>
    
  </author>

  
  <entry>
    <title>Just released themes_for_rails 0.5.0</title>
    <link href="http://blog.lucasefe.com.ar/blog/2012/04/14/just-released-themes-for-rails-0-dot-5-0/"/>
    <updated>2012-04-14T17:32:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2012/04/14/just-released-themes-for-rails-0-dot-5-0</id>
    <content type="html">&lt;p&gt;Hi, dear reader!&lt;/p&gt;

&lt;p&gt;Just writing about the new version of themes_for_rails gem. Since there has
been no major issues with the pre-release, I&amp;#8217;m releasing 0.5.0 right now.&lt;/p&gt;

&lt;p&gt;As usual, just do &lt;code&gt;gem install themes_for_rails&lt;/code&gt; or update your
&lt;code&gt;Gemfile&lt;/code&gt; file with &lt;code&gt;gem &#8216;themes_for_rails&#8217;, &#8216;0.5.0&#8217;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Remember to take a look at the wiki page. There&amp;#8217;s a lot of information regarding
upgrade and Assets Pipeline compatibility (&lt;a href=&quot;https://github.com/lucasefe/themes_for_rails/wiki&quot;&gt;Wiki page&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Also, I already wrote about it on a previous post. &lt;a href=&quot;/blog/2012/02/19/themes-for-rails-with-assets-pipeline-support/&quot;&gt;Check it out&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And, if in doubt, just leave a comment, or &lt;a href=&quot;http://www.twitter.com/lucasefe&quot;&gt;tweet me&lt;/a&gt;.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>gemsets made easy</title>
    <link href="http://blog.lucasefe.com.ar/blog/2012/04/13/gemsets-made-easy/"/>
    <updated>2012-04-13T09:17:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2012/04/13/gemsets-made-easy</id>
    <content type="html">&lt;p&gt;&lt;a href=&quot;https://rvm.beginrescueend.com/rvm/install/&quot;&gt;rvm&lt;/a&gt; has a great feature: &lt;a href=&quot;http://beginrescueend.com/gemsets/basics/&quot;&gt;gemsets&lt;/a&gt;. If you don&amp;#8217;t know what it is, please, go read about it.&lt;/p&gt;

&lt;p&gt;Anyway, what I really like about rvm&amp;#8217;s gemsets is the isolation level they provide. It super easy to try something for a while and then wipe it out in a second.&lt;/p&gt;

&lt;p&gt;But there&amp;#8217;s a problem, I no longer use rvm :-)&lt;/p&gt;

&lt;p&gt;Enter &lt;a href=&quot;https://github.com/soveran/gs&quot;&gt;gs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/soveran/gs&quot;&gt;gs&lt;/a&gt; is a gem that provides the features I need without having to depend on rvm&amp;#8217;s good behavior.&lt;/p&gt;

&lt;p&gt;As an example, let&amp;#8217;s say I&amp;#8217;m working on a pull request of a gem I&amp;#8217;m using for project.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;figcaption&gt;&lt;span&gt;Cloning cuba gem into my blackhole folder &lt;/span&gt;&lt;/figcaption&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;4&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;5&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;6&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;7&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;8&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh 0 $ git clone git@github.com:lucasefe/cuba.git
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;Cloning into cuba&#8230;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;remote: Counting objects: 889, done.
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;remote: Compressing objects: 100% (451/451), done.
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;remote: Total 889 (delta 436), reused 837 (delta 386)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;Receiving objects: 100% (889/889), 121.69 KiB | 125 KiB/s, done.
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;Resolving deltas: 100% (436/436), done.
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh 0 $ cd cuba/&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;I can create a gemset just by executing the following command. Note that a gemset is only a .gs folder in the current directory.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh/cuba master 0 $ gs init&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;To use the gemset, just run gs with no parameters&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh/cuba master 0 $ gs
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;cuba ~/code/bh/cuba master 0 $&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;Notice how my prompt changed? This is not provided by gs, but this &lt;a href=&quot;https://gist.github.com/da4cd5674373e7f6042a&quot;&gt;gist&lt;/a&gt; does the trick (it alters your PS1 variable). The name of the gemset is the folder&amp;#8217;s name. Simple, no complex stuff here.&lt;/p&gt;

&lt;p&gt;Ok, let&amp;#8217;s install some dependencies. In this case I&amp;#8217;m using &lt;a href=&quot;https://github.com/twpil/dep&quot;&gt;dep&lt;/a&gt; (topic for another post), bundler&amp;#8217;s simple alternative for dependencies tracking.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;4&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;5&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;6&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;7&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;8&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;9&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;10&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;11&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;12&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;13&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;14&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;15&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;16&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;17&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;18&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;19&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;20&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;21&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;22&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;23&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;24&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;25&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;26&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;27&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;cuba ~/code/bh/cuba master 0 $ dep install
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  gem install rack -v 1.4.1
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  gem install tilt -v 1.3.3
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  gem install capybara -v 1.1.2
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  gem install cutest -v 1.1.3
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;cuba ~/code/bh/cuba master 0 $ gem list 
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;addressable (2.2.7)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;bigdecimal (1.1.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;capybara (1.1.2)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;childprocess (0.3.1)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;clap (0.0.2)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;cutest (1.1.3)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;dep (1.0.1)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;ffi (1.0.11)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;gs (0.1.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;libwebsocket (0.1.3)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;mime-types (1.18)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;multi_json (1.2.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;nokogiri (1.5.2)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;rack (1.4.1)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;rack-test (0.6.1)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;rake (0.9.2.2)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;rubyzip (0.9.7)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;selenium-webdriver (2.21.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;tilt (1.3.3)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;xpath (0.1.4)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;Ok, a lot of gems, right? If I want to leave the gemset, I just need to exit (either by typing &lt;code&gt;exit&lt;/code&gt; or with &lt;code&gt;Ctrl-d&lt;/code&gt;). And now we have only the original gems installed.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;4&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;5&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;6&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;7&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;cuba ~/code/bh/cuba master 0 $ exit
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh/cuba master 0 $ gem list 
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;bigdecimal (1.1.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;clap (0.0.2)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;dep (1.0.1)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;gs (0.1.0)
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;rake (0.9.2.2)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;Do you want to remove the gemset? Just remove the .gs folder.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;~/code/bh/cuba master 0 $ rm -fr .gs&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;So how does this thing work? I leave that as an exercise, &amp;#8216;cause I think you&amp;#8217;ll be amazed. Check the &lt;a href=&quot;https://github.com/soveran/gs/blob/master/bin/gs#L27-45&quot;&gt;code base&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To me, this is a great example of how to build simple and useful stuff, without doing more than what is needed. We need more of this and less &lt;a href=&quot;http://www.infoq.com/presentations/Simple-Made-Easy&quot;&gt;complected&lt;/a&gt; stuff.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Ruby & Rails Mac OS X Setup for the masses</title>
    <link href="http://blog.lucasefe.com.ar/blog/2012/04/13/ruby-mac-os-x-setup-for-the-masses/"/>
    <updated>2012-04-13T09:16:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2012/04/13/ruby-mac-os-x-setup-for-the-masses</id>
    <content type="html">&lt;p&gt;Lately it seems like setting up rails on Mac OS X is a complicated task, something only the hackers of the world can achieve. Since I&amp;#8217;m no hacker, and I do it constantly, I decided to write a quick outline of what I do every time I have a new clean Mac, to achieve this &amp;#8220;impossible&amp;#8221; task.&lt;/p&gt;

&lt;p&gt;In my experience, you don&amp;#8217;t need much to get started. I am not even using &lt;a href=&quot;https://rvm.beginrescueend.com/rvm/install/&quot;&gt;rvm&lt;/a&gt;, &lt;a href=&quot;https://github.com/jayferd/ry&quot;&gt;ry&lt;/a&gt; or &lt;a href=&quot;https://github.com/sstephenson/rbenv&quot;&gt;rbenv&lt;/a&gt;. There&amp;#8217;s always time to learn more about them, and you can wait until you need different ruby versions to start complicating your life.&lt;/p&gt;

&lt;p&gt;Let&amp;#8217;s face it: we, the hardcore ruby devs (?) always recommend this or that tool, but in the beginning you need to learn the basics. You don&amp;#8217;t care about which one is the best database, or if imagemagick is crap. You can learn about all the details later, when the problem is in your face.&lt;/p&gt;

&lt;p&gt;Let&amp;#8217;s get started.&lt;/p&gt;

&lt;h2&gt;Install Mac OS X&amp;#8217;s build tools&lt;/h2&gt;

&lt;p&gt;In order to compile anything, you need this.&lt;/p&gt;

&lt;h3&gt;For Lion (10.7.x):&lt;/h3&gt;

&lt;p&gt;Download &lt;a href=&quot;https://github.com/kennethreitz/osx-gcc-installer&quot;&gt;OSX GCC Installer&lt;/a&gt; and the &lt;a href=&quot;http://developer.apple.com/xcode/index.php&quot;&gt;Command Line Tools for Xcode&lt;/a&gt;. &lt;small&gt; Sorry, but there is no direct link for Apple&amp;#8217;s stuff. &lt;/small&gt;&lt;/p&gt;

&lt;h3&gt;For Snow Leopard (10.6.x):&lt;/h3&gt;

&lt;p&gt;Download &lt;a href=&quot;http://developer.apple.com/xcode/index.php&quot;&gt;Xcode for Snow Leopard&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install the right thing for your OS version.&lt;/p&gt;

&lt;h2&gt;Install homebrew&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mxcl/homebrew&quot;&gt;Homebrew&lt;/a&gt; is my package manager of choice. The recipes or formulas are written in ruby, so it&amp;#8217;s as good as it gets. You have one of this on most *nix like operating systems.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;figcaption&gt;&lt;span&gt;Current instructions recommend doing this &lt;/span&gt;&lt;/figcaption&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;/usr/bin/ruby -e &quot;$(/usr/bin/curl \
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;-fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)&quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;After executing that, provided that you didn&amp;#8217;t mess up, you&amp;#8217;ll be able to install most software you&amp;#8217;ll ever need.&lt;/p&gt;

&lt;p&gt;Homebrew will install by default on /usr/local, and your new friend is the &lt;code&gt;brew&lt;/code&gt; command.&lt;/p&gt;

&lt;h2&gt;Install Ruby&lt;/h2&gt;

&lt;p&gt;Watch out for this, because it&amp;#8217;s very complicated stuff.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;4&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;5&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;6&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;7&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;brew install ruby
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;# Put the pava on the fire for the mate.
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;#&#8230;. Downloading, compiling&#8230;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;# Remove the pava from the fire. 
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;ruby -v
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;# ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;I know, I know&amp;#8230; You feel the pain.&lt;/p&gt;

&lt;h2&gt;Install Rails&lt;/h2&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;gem install rails # I know, it&#8217;s amazing&#8230;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;h3&gt;Note&lt;/h3&gt;

&lt;p&gt;At this point in my life I feel that there are many other ways to do web development with Ruby. Of course, Rails is the preferred one since forever, but be aware of other lighter, more flexible solutions. I&amp;#8217;ll write some more about this later.&lt;/p&gt;

&lt;h2&gt;Install the database&lt;/h2&gt;

&lt;p&gt;This is completely optional, alright? Rails works out of the box with sqlite3, so without doing this you are still set, ready to go.&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8221;&gt;&lt;span class=&#8217;line&#8217;&gt;brew install mysql # for example, but it can be also postgresql, redis, etc.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;h2&gt;Next Steps&lt;/h2&gt;

&lt;p&gt;At some point, you are gonna start adding gems, and some of them are going to require other libraries in order to work. Nokogiri requires libxml2, paperclip requires imagemagick, and so on. Just brew the dependency named at the library&amp;#8217;s Readme file. It&amp;#8217;s not that complicated, is it?&lt;/p&gt;

&lt;h2&gt;Done&lt;/h2&gt;

&lt;p&gt;You&amp;#8217;re done, man. Start learning and blow our minds away.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Themes for Rails With Assets Pipeline Support</title>
    <link href="http://blog.lucasefe.com.ar/blog/2012/02/19/themes-for-rails-with-assets-pipeline-support/"/>
    <updated>2012-02-19T18:14:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2012/02/19/themes-for-rails-with-assets-pipeline-support</id>
    <content type="html">&lt;p&gt;Themes For Rails, version 0.5.0.pre, has been released. It includes a couple of bug fixes, and many improvements. The most important one is the support for the Rails Assets Pipeline. In reality, this is a consequence of an important enhancement.&lt;/p&gt;

&lt;h2&gt;The problem&lt;/h2&gt;

&lt;p&gt;In the beginning, a Theme was a collection of static files (images, css and js files), and dynamic views (haml, erb, or whatever rails supported). Each theme was one single package, normally organized on the themes folder at the Rails application&amp;#8217;s root.&lt;/p&gt;

&lt;p&gt;The folder containing each themes should look like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dark # &amp;lt;&#8212; Theme name
  stylesheets
  javascripts
  images
  views
    layouts
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After some time, I realized things doesn&amp;#8217;t always are used the way I thought they would be. So some people asked me about how to change this layouts of files (I also saw forks on github existing only to change this).&lt;/p&gt;

&lt;h2&gt;The solution&lt;/h2&gt;

&lt;p&gt;To make this story a little but shorter, now you can change where the assets are stored, and how.&lt;/p&gt;

&lt;p&gt;Let&amp;#8217;s see an example.&lt;/p&gt;

&lt;h3&gt;Hey, I don&amp;#8217;t want all the static files right there, on the root of theme.&lt;/h3&gt;

&lt;p&gt;Ok, you can change it like this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# config/initializers/tfr.rb
ThemesForRails.config do |config|
  config.assets_dir = &quot;:root/themes/:name/assets&quot; 
end
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So your static assets will be on &lt;code&gt;themes/pink/assets/stylesheets&lt;/code&gt;, &lt;code&gt;themes/pink/assets/javascripts&lt;/code&gt; and &lt;code&gt;themes/pink/assets/images&lt;/code&gt;, but your views will still need to be stored on &lt;code&gt;themes/pink/views&lt;/code&gt; in order to be found.&lt;/p&gt;

&lt;h3&gt;What about Assets Pipeline support?&lt;/h3&gt;

&lt;pre&gt;&lt;code&gt;ThemesForRails.config do |config|
  # themes_dir is used to allow ThemesForRails to list available themes. 
  # It is not used to resolve any paths or routes.
  config.themes_dir = &quot;:root/app/assets/themes&quot;

  # assets_dir is the path to your theme assets.
  config.assets_dir = &quot;:root/app/assets/themes/:name&quot;

  # views_dir is the path to your theme views
  config.views_dir =  &quot;:root/app/views/themes/:name&quot;

  # themes_routes_dir is the asset pipeline route base. 
  # Because of the way the asset pipeline resolves paths, you do
  # not need to include the &#8216;themes&#8217; folder in your route dir.
  #
  # for example, to get application.css for the default theme, 
  # your URL route should be : /assets/default/stylesheets/application.css
  config.themes_routes_dir = &quot;assets&quot;
end
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You can visit the &lt;a href=&quot;https://github.com/lucasefe/themes_for_rails/wiki/Assets-Pipeline-Integration&quot;&gt;wiki page&lt;/a&gt; on &lt;a href=&quot;https://github.com/lucasefe/themes_for_rails&quot;&gt;GitHub&lt;/a&gt; for more information.&lt;/p&gt;

&lt;h2&gt;The conclusion&lt;/h2&gt;

&lt;p&gt;So this is not the final release. We need some testing so if you are using this gem, please, update to the pre version and submit all the bug you can find. I&amp;#8217;ll do my best to fix them.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;gem &#8216;themes_for_rails&#8217;, &#8216;0.5.0.pre&#8217;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thanks, and I hope you find this gem usefull.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>ThemesForRails 0.4.3 Released</title>
    <link href="http://blog.lucasefe.com.ar/blog/2012/01/27/themes-for-rails-0-4-3-released/"/>
    <updated>2012-01-27T11:51:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2012/01/27/themes-for-rails-0-4-3-released</id>
    <content type="html">&lt;p&gt;Ok, a new release of ThemesForRails has been released. It took me a while, and may be because I am not use to deal with a open source project and my regular job (clearly, I need to take some classes from &lt;a href=&quot;http://twitter.com/soveran&quot;&gt;@soveran&lt;/a&gt; or &lt;a href=&quot;http://twitter.com/luislavena&quot;&gt;@luislavena&lt;/a&gt; (Tucuman&amp;#8217;s Ruby OSS Bot). Today, I&amp;#8217;ve decided to do something about it.&lt;/p&gt;

&lt;p&gt;Any way, this release is mostly bugfixes and compatibility with rails 3.1. In the following days (or hours) I will release the new version for rails 3.2 (removing all the de deprecation warnings).&lt;/p&gt;

&lt;p&gt;As usual:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;gem install themes_for_rails 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Or update your app&amp;#8217;s Gemfile&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;gem &#8216;themes_for_rails&#8217;, &#8216;0.4.3&#8217;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Cheers&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Y lo logramos&#8230; </title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/11/17/y-lo-logramos-rubyconf-argentina/"/>
    <updated>2011-11-17T21:05:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/11/17/y-lo-logramos-rubyconf-argentina</id>
    <content type="html">&lt;p&gt;Algunos sabían, otros no, pero este año tuve el agrado de participar
activamente en la organización de la primera RubyConf Argentina [1]. Si no
recuerdo mal, a principio de mayo nos juntamos por primera vez en Urban Station
(nuestro lugar de reuniones mensuales) y decidimos (entre los que estábamos)
encarar la aventura de realizar este ambicioso proyecto.&lt;/p&gt;

&lt;p&gt;Pasaron los meses y fuimos avanzando. Creamos el website, conseguimos los
primeros sponsors (&lt;a href=&quot;http://gitub.com&quot;&gt;github&lt;/a&gt; e &lt;a href=&quot;http://inakanetworks.com/&quot;&gt;inaka networks&lt;/a&gt;), y anunciamos los primero speakers (&lt;a href=&quot;http://tenderlovemaking.com/&quot;&gt;Aaron Patterson&lt;/a&gt; y &lt;a href=&quot;http://blog.mmediasys.com/&quot;&gt;Luis Lavena&lt;/a&gt;, si la memoria no me falla).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6100/6351795589_e66a4018ce.jpg&quot; title=&quot;Tenderlove
 se zarpa en onda&quot; alt=&quot;Tenderlove se zarpa en
onda&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Qué alegrón fue saber que podíamos hacer el evento en el Konex! &lt;a href=&quot;http://www.ciudadculturalkonex.org/web/&quot;&gt;La Casa
Cultural Konexi&lt;/a&gt; es un lugar que
tiene onda y no es acartonado como los habituales lugares donde se
hacen conferencias. Graffitties, minimalismo y luces de neón, entre otras
cosas.&lt;/p&gt;

&lt;p&gt;Lanzamos la inscripción, intentando ver si lo que habíamos pensado era
posible y la gente respondió positivamente. Se siguieron sumando los sponsors,
y luego más oradores.&lt;/p&gt;

&lt;p&gt;Detrás de la organización de cualquier evento masivo hay muchos inconvenientes
que van surgiendo que ninguno había imaginado inicialmente. Uno de esos fue el
tema de cómo facturar cada acreditación. Luego de varias ideas fallidas
decidimos encarar lo más complicado: Crear una sociedad sin fines de lucro que
nos permitiera hacer cualquier cosa referida a Ruby. Según los cálculos los
trámites no se deberían haber demorado tanto, pero la realidad demostró que las
cosas son más laxas, y al día de la fecha aun no ha salido la aprobación de la
IGJ (aquí estamos esperando).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6217/6330088670_b7901df59a.jpg&quot; title=&quot;En el
 asado jugamos un picadito&quot; alt=&quot;Fobal&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Con esos quilombos y mil cosas más, logramos salir adelante igualmente.
Brindamos un día para rubyistas de varios niveles que querían hacer algo el
domingo previo (Ruby Fun Day), comimos un asado en Brandsen con los oradores y
laburamos como locos durante dos días para que 300 programadores/as tuvieran un
evento a la altura de sus expectativas (eso espero!).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6043/6352550330_4b6ee4bb35.jpg&quot; title=&quot;El gordito
 al arco&quot; alt=&quot;El gordo al
arco&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6101/6332480615_08021f1b6b.jpg&quot; title=&quot;Cha Con&quot; alt=&quot;Scott Chacon&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Tampoco se puede olvidar las noches de la RubyConf. Pudimos disfrutar de dos
drinkups invitados por Github y Business Vision.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6106/6328969808_738ca27b0e.jpg&quot; title=&quot;Los
 borrachos de Ruby&quot; alt=&quot;Los borrachos de
Ruby&quot; /&gt;&lt;/p&gt;

&lt;p&gt;De mi lado, y ya que este es mi blog personal, me gustaría agradecer a todos
los sponsors, speakers y proveedores que nos dieron una mano desde donde
pudieron, y por supuesto, a cada uno de los asistentes. Sin ellos, esto no
hubiera tenido ningún sentido, y obviamente no hubiera sido posible.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6019/6325450655_c0bf298774.jpg&quot; alt=&quot;Audiencia&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Pero más que nada al equipo que formamos con todos los rubyistas voluntarios de
Ruby Argentina. Llegamos, muchachos&amp;#8230; :D&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6215/6332888878_6ebaf4ea08.jpg&quot; title=&quot;Los
 organizadores de la RubyConf Argentina 2011&quot; alt=&quot;Los organizadores de la RubyConf Argentina
2011&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Destacado personal: En la foto de abajo le explica a Scott Chacon lo que
su apellido, en capicua, quería decir en Argentina. Fue mundial&amp;#8230; y no me
olvido más :)&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6216/6352545872_8c490711a7.jpg&quot; title=&quot;Destacado personal&quot; alt=&quot;Destacado
personal&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Nos vemos el año que viene, en la RubyConf Argentina 2012.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/groups/rubyconfargentina2011/pool/with/6332888878/&quot;&gt;Más fotos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[1] Vale la pena aclarar que en el 2009 se realizó la conferencia Locos X
Rails, pero ésta es la primera vez que se hace en el mismo marco que las demás
RubyConfs mundiales.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Useful Console Commands</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/09/01/useful-console-commands/"/>
    <updated>2011-09-01T10:57:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/09/01/useful-console-commands</id>
    <content type="html">&lt;h2&gt;To be executed on bash or zsh, as far as I know:&lt;/h2&gt;

&lt;p&gt;Go to the end of the line:
&lt;code&gt;ctrl+e&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Go to the beginning of the line:
&lt;code&gt;ctrl+a&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Move by one letters at a time:
&lt;code&gt;ctrl+f&lt;/code&gt; (&lt;code&gt;ctrl+b&lt;/code&gt; to go backwards)&lt;/p&gt;

&lt;p&gt;Move by word
&lt;code&gt;alt+f&lt;/code&gt; (&lt;code&gt;alt+b&lt;/code&gt; to go backwards)&lt;/p&gt;

&lt;p&gt;Delete words:
&lt;code&gt;alt+d&lt;/code&gt; (remember that you need to be in the beginning of the word)&lt;/p&gt;

&lt;h3&gt;Update (thanks to @etagwerker)&lt;/h3&gt;

&lt;p&gt;Shell History Reverse Search:
&lt;code&gt;ctrl+r&lt;/code&gt; Start typing a previous command and it will look it up for you, so you just
press enter without having to write the whole (long ass) command again.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Ayudanos a Ganar en El Rally on Rails.</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/22/ayudanos-a-ganar-en-el-rally-on-rails/"/>
    <updated>2011-08-22T23:01:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/22/ayudanos-a-ganar-en-el-rally-on-rails</id>
    <content type="html">&lt;p&gt;Como algunos sabrán, estuve compitiendo el otro fin de semana en un rally de programación. La intensión del mismo era construir una aplicación en solo 48 horas (o sea que lo que se ve tomó ese tiempo únicamente para ser construido, así que fallas tiene seguro&amp;#8230; y muchas). El equipo estuvo confirmado por Nicolás Sztabzyb (&lt;a href=&quot;http://www.twtter.com/n1cus&quot;&gt;@n1cus&lt;/a&gt;), Juan Manuel Barreneche (&lt;a href=&quot;http://www.twtter.com/jbarreneche&quot;&gt;@jbarreneche&lt;/a&gt;) y yo (&lt;a href=&quot;http://www.twitter.com/lucasefe&quot;&gt;@lucasefe&lt;/a&gt;). Nos matamos durante todo el fin de semana, durmiendo una cantidad mínima de horas&amp;#8230; pero creemos que valió la pena. Si, lo haríamos de vuelta.&lt;/p&gt;

&lt;p&gt;En fin, se acaban de abrir las votaciones públicas, así que les agradeceré vuestro honesto voto (honesto o lleno de fanatismo enfermo sirve igual :) )&lt;/p&gt;

&lt;p&gt;La aplicación a votar se encuentra en &lt;a href=&quot;http://awedition.com.ar&quot;&gt;http://awedition.com.ar&lt;/a&gt;. Es un buscador de músicos y grupos. La información que tiene hoy en día es de prueba, pero la intención es armar una buena comunidad, útil, de músicos de todo el mundo. Podés buscar bandas si sos músico, o la pieza que te falta si tenés un proyecto musical. También podés crear tu perfil musical (&lt;em&gt;Musiculum Vitae&lt;/em&gt;) y esperar a que el proyecto perfecto te encuentre.&lt;/p&gt;

&lt;p&gt;Para votarnos tienen que:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ingresar a esta página &lt;a href=&quot;http://bit.ly/3cabezas&quot;&gt;http://bit.ly/3cabezas&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Iniciar sesión con Twitter. El link se encuentra arriba de la página. No usen el link que los lleva a github, porque lo más probable es que no tengan un cuenta ahí. Al hacer click los va a llevara twitter y luego, cuando autoricen, los va a devolver a la página del Rally, pero a la home.&lt;/li&gt;
&lt;li&gt;Vayan a esta dirección: &lt;a href=&quot;http://bit.ly/3cabezas&quot;&gt;http://bit.ly/3cabezas&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Voten con onda :) Se vota haciendo click en las estrellas que están debajo de Votaciones Públicas. No en las de los jueces.&lt;/li&gt;
&lt;li&gt;Cualquier difusión y/o votación se agradecerá.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Gracias… :) Espero que les guste… y que nos voten, obviamente.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Finalizó La Encuesta Ruby Sur 2011</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/17/finalizo-la-encuesta-ruby-sur-2011/"/>
    <updated>2011-08-17T23:00:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/17/finalizo-la-encuesta-ruby-sur-2011</id>
    <content type="html">&lt;p&gt;Hace un par de semanas, a partir de mi acostumbrada curiosidad, inicié la tercera &lt;a href=&quot;/blog/2011/08/03/encuesta-ruby-sur-2011/&quot;&gt;Encuesta Ruby Sur&lt;/a&gt;. La idea era saber un poco más sobre nuestra comunidad, y tratar de entender un poco qué queremos, de dónde venimos y hacia donde vamos.&lt;/p&gt;

&lt;p&gt;Algo positivo que noté es que el año pasado la convocatoria fue mucho menor, ya que solo completaron la encuesta 71 personas. Este año casi se duplicó ese número. 134 personas quisieron aportar su granito de arena. Creo que por suerte se dieron cuenta de que detrás de esto no ningún interés particular.&lt;/p&gt;

&lt;p&gt;Se pueden sacar muchas conclusiones de los resultados, pero prefiero dejar que los número hablen por si solos, más que nada porque no me siento el más capaz para hacer ese análisis (invito a cualquier a que lo haga y me pase su opinión para ser publicada).&lt;/p&gt;

&lt;p&gt;Ah, los resultados pueder ser visualizados &lt;a href=&quot;/encuestas/ruby-encuesta-2011.html&quot;&gt;AQUI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Salud, y ojalá que sirva para que podamos seguir construyendo una mejor comunidad, con más oportunidades y mayores espacios para compartir este lenguaje que a tantos nos copa.&lt;/p&gt;

&lt;p&gt;Me olvidada&amp;#8230; Vienen a la próxima &lt;a href=&quot;http://rubyconfargentina.org/es&quot;&gt;RubyConf Argentina&lt;/a&gt;, verdad?&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Encuesta Ruby Sur 2011</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/03/encuesta-ruby-sur-2011/"/>
    <updated>2011-08-03T12:00:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/03/encuesta-ruby-sur-2011</id>
    <content type="html">&lt;p&gt;No recuerdo muy bien, pero el año pasado y el anterior realicé dos encuestas referidas a Ruby en Argentina.&lt;/p&gt;

&lt;p&gt;Los resultados de las mismas fueron publicados &lt;a href=&quot;/encuesta-0.1.html&quot;&gt;aquí&lt;/a&gt; y &lt;a href=&quot;/encuesta-0.2.html&quot;&gt;aquí&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Este año decidí realizarla nuevamente, pero pensando un poco más en Latino América, tratando de entender dónde estamos y hacia dónde vamos, así que le agregué un par de preguntas más.&lt;/p&gt;

&lt;p&gt;El formulario de la versión 2011 se encuentra publicado &lt;a href=&quot;https://spreadsheets.google.com/spreadsheet/viewform?formkey=dG5VRHF4bVRYRkxUOVZsdm8wMVIyZmc6MA&quot;&gt;acá&lt;/a&gt; y permanecerá disponible hasta el Viernes 12 de Agosto de 2011. Luego de eso publicaré los resultados libremente y para todo el mundo, igual que las veces anteriores.&lt;/p&gt;

&lt;p&gt;Estaría buenísimo que participen mucho, así que se aprecia mucho la difusión.&lt;/p&gt;

&lt;h3&gt;&lt;a href=&quot;https://spreadsheets.google.com/spreadsheet/viewform?formkey=dG5VRHF4bVRYRkxUOVZsdm8wMVIyZmc6MA&quot;&gt;Formulario&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Gracias.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>RubyConf Argentina 2011</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/02/rubyconf-argentina/"/>
    <updated>2011-08-02T20:40:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/02/rubyconf-argentina</id>
    <content type="html">&lt;p&gt;(This is not really a news, but something I really want to talk about)&lt;/p&gt;

&lt;p&gt;The Ruby Argentina group is organizing the first RubyConf, here in Buenos Aires.&lt;/p&gt;

&lt;p&gt;RubyConf Argentina 2011 is a two-day event coming to Buenos Aires the 8th and 9th of November, focused on Ruby and modern web technologies related to the Ruby programming language.&lt;/p&gt;

&lt;p&gt;The program is designed to cover the interests of a wide spectrum of programmers, from the new developer who is interested in learning Ruby for the first time to the long-time Ruby expert. The event is designed to open a dialogue between developers in Argentina and the rest of the world.&lt;/p&gt;

&lt;p&gt;We have a big list of remarkable speakers, from Argentina and the world!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#tenderlove&quot;&gt;Aaron Patterson&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#compay&quot;&gt;Norman Clarke&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#shugomaeda&quot;&gt;Shugo Maeda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#mojombo&quot;&gt;Tom Preston-Werner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#luislavena&quot;&gt;Luis Lavena&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#chacon&quot;&gt;Scott Chacon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#merbist&quot;&gt;Matt Aimonetti&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyconfargentina.com.ar/en/speakers#konstantinhaase&quot;&gt;Konstantin Haase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;#8230; and many more.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I hope to see in November a big group of Ruby programmers. If you are interested on coming, please, fill registration form at &lt;a href=&quot;https://eventioz.com/events/rubyconf-argentina-2011/registrations/new&quot;&gt;Eventioz&lt;/a&gt; or visit the &lt;a href=&quot;http://rubyconfargentina.com.ar&quot;&gt;RubyConf Argentina website&lt;/a&gt; to make up your mind.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Podcasts</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/02/podcasts/"/>
    <updated>2011-08-02T18:37:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/02/podcasts</id>
    <content type="html">&lt;p&gt;Clearly, there are lots of sources of information on the web. Blogs, News feeds, Twitter, forums, podcasts, screencasts, etc.&lt;/p&gt;

&lt;p&gt;With work, family, friends, and other related stuff, I don&amp;#8217;t have much time to exhaust all of them, so I have to choose. Since I ride a bike pretty much all the time, my favorite way of learning is by listening to some podcasts and by watching screencats.&lt;/p&gt;

&lt;h2&gt;Free&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyshow.com/&quot;&gt;The Ruby Show&lt;/a&gt; from Jason Seifer and Peter Cooper.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://javascriptshow.com/&quot;&gt;The JavaScript Show&lt;/a&gt; Same guys.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rubyrogues.com&quot;&gt;Ruby Rogues&lt;/a&gt; Good podcast featuring ruby personalities.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://ruby5.envylabs.com/&quot;&gt;Ruby5&lt;/a&gt; The latest news in the Ruby and Rails community&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://thechangelog.com/&quot;&gt;The Changelog&lt;/a&gt; with Wynn Netherland and Adam Stacoviak.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.railscasts.com&quot;&gt;RailsCasts&lt;/a&gt; by Ryan Bates&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Paid&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.destroyallsoftware.com&quot;&gt;Destroy all software&lt;/a&gt; from Gary Bernhardt. This like getting advice from a pro. Gary is super smart and talks about many topics. Ruby is one of them, but Python, VIM, and others are mentioned.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://peepcode.com&quot;&gt;Peepcode&lt;/a&gt; from Geoffrey Grosenbach. Do I really have to explain what peepcode is? Go, boy, get yourself an unlimited subscription right now.&lt;/li&gt;
&lt;/ul&gt;

</content>
  </entry>
  
  <entry>
    <title>Change is beautiful</title>
    <link href="http://blog.lucasefe.com.ar/blog/2011/08/01/restropective-antes-que-nada/"/>
    <updated>2011-08-01T12:49:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2011/08/01/restropective-antes-que-nada</id>
    <content type="html">&lt;p&gt;Time to change things. This blog, for instance. But I&amp;#8217;m not gonna reinvent the wheele. Let&amp;#8217;s use Octopress and see how it goes. Seems like what I need right now: A good way to blog about nice things I&amp;#8217;m learning about Ruby and Javascript, things I&amp;#8217;m passionate about.&lt;/p&gt;

&lt;p&gt;But wait a minute! Are you gonna blog in English? Don&amp;#8217;t know. Seems like that, so we&amp;#8217;ll see.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Acts as Rubylit 2010 - Gracias</title>
    <link href="http://blog.lucasefe.com.ar/blog/2010/10/04/acts-as-rubylit-2010/"/>
    <updated>2010-10-04T18:06:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2010/10/04/acts-as-rubylit-2010</id>
    <content type="html">&lt;p&gt;Este fin de semana pasado se realiz&amp;oacute; la Acts As Rubylit 2010 en la provincia de Santa Fe, Argentina.&lt;/p&gt;

&lt;p&gt;Fueron dos d&amp;iacute;as de charlas muy interesantes, de compartir un mont&amp;oacute;n de an&amp;eacute;cdotas con otros compa&amp;ntilde;eros rubistas y de mucho m&amp;aacute;s.&lt;/p&gt;

&lt;p&gt;A pesar del viaje (que no me copaba mucho) debo decir que la pas&amp;eacute; m&amp;aacute;s que bien gracias a la hospitalidad y el buen trato de los organizadores. Se not&amp;oacute; el esfuerzo que hicieron, y es importante que sepan que se aprecia y agradece mucho.&lt;/p&gt;

&lt;p&gt;Hacen falta m&amp;aacute;s eventos como estos (no hace falta decirlo, verdad?). Quiz&amp;aacute;s con esta nueva lista podamos darle el nuevo empuj&amp;oacute;n que anda necesitando.&lt;/p&gt;

&lt;p&gt;Fue un placer asistir, hablar (a pesar del julepe considerable que ten&amp;iacute;a) y conocer a cada uno de los participantes.&lt;/p&gt;

&lt;p&gt;Hasta el año que viene, muchachos.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Adding Custom Input Fields to Simple Form</title>
    <link href="http://blog.lucasefe.com.ar/blog/2010/10/04/adding-custom-input-fields-to-simple-form/"/>
    <updated>2010-10-04T17:48:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2010/10/04/adding-custom-input-fields-to-simple-form</id>
    <content type="html">&lt;p&gt;In a project I am using &lt;a href=&quot;http://github.com/plataformatec/simple_form&quot;&gt;Simple Form&lt;/a&gt; from the guys of PlataformaTec as a Form Builder. At the beginning of the project, I decided to switch from formtastic to this one because I am big fan of what José Valim is doing. I really like his code, and I think that what he writes is always (as far as I know) extendible, usable, and of course, simple to use.&lt;/p&gt;

&lt;p&gt;So last week I needed to use a particular kind of input field. We needed to show a box like this one:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/subdomain.png&quot; alt=&quot;subdomain&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Pretty self explanatory, right?&lt;/p&gt;

&lt;p&gt;I wanted to be able to write something like this in my view files (in &lt;a href=&quot;http://haml-lang.com/&quot;&gt;HAML&lt;/a&gt;)&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8217;ruby&#8217;&gt;&lt;span class=&#8217;line&#8217;&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;simple_form_for&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:organization&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  &lt;span class=&quot;c1&quot;&gt;# &#8230;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:subdomain&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:as&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:subdomain&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:domain&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&amp;#39;foooo.com&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;So in order to achieve this, we only needed to add this to config/initializers/simple_form_extensions.rb (for example).&lt;/p&gt;

&lt;figure class=&#8217;code&#8217;&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre class=&quot;line-numbers&quot;&gt;&lt;span class=&#8217;line-number&#8217;&gt;1&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;2&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;3&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;4&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;5&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;6&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;7&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;8&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;9&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;10&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;11&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;12&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;13&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;14&lt;/span&gt;
&lt;span class=&#8217;line-number&#8217;&gt;15&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&#8217;code&#8217;&gt;&lt;pre&gt;&lt;code class=&#8217;ruby&#8217;&gt;&lt;span class=&#8217;line&#8217;&gt;&lt;span class=&quot;k&quot;&gt;module&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;SimpleForm&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  &lt;span class=&quot;k&quot;&gt;module&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;Inputs&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;    &lt;span class=&quot;k&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;SubdomainInput&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;no&quot;&gt;Base&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;input&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;        &lt;span class=&quot;s2&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\#&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;{protocol}&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\#&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;{@builder.text_field(attribute_name, input_html_options)}.&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\#&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;{domain}&amp;quot;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;domain&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;        &lt;span class=&quot;n&quot;&gt;input_options&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;:domain&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;protocol&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;        &lt;span class=&quot;n&quot;&gt;input_options&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;:protocol&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;http://&amp;quot;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;      &lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;    &lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;  &lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;span class=&#8217;line&#8217;&gt;&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;


&lt;p&gt;The key part here is to name the class properly, so when you do :as =&gt; :my_class, your MyClass gets called automatically.&lt;/p&gt;

&lt;p&gt;Simple Form is very well structured, and provides lots of ways to customize its functionality. Check the &lt;a href=&quot;http://github.com/plataformatec/simple_form/blob/master//README.rdoc&quot;&gt;readme&lt;/a&gt; file to see what you can do without having to create a custom input class like SubdomainInput. Also, you can check &lt;a href=&quot;http://railscasts.com/episodes/234-simple-form&quot;&gt;this week&amp;#8217;s railscasts&lt;/a&gt;.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <title>Themes for Rails</title>
    <link href="http://blog.lucasefe.com.ar/blog/2010/09/25/themes-for-rails/"/>
    <updated>2010-09-25T18:27:00-03:00</updated>
    <id>http://blog.lucasefe.com.ar/blog/2010/09/25/themes-for-rails</id>
    <content type="html">&lt;p&gt;Ha pasado un buen tiempo desde mi &amp;uacute;ltimo post. Soy uno m&amp;aacute;s de los que abandona su blog cuando anda con muchas cosas, evidentemente.&lt;/p&gt;

&lt;p&gt;Para un laburo que estoy haciendo ahora (que espero no tardar en presentar) estaba necesitando soporte para themes. Mir&amp;eacute; un poco por ah&amp;iacute;, y di con &lt;a href=&quot;http://github.com/jystewart/theme_support&quot;&gt;themes_support&lt;/a&gt;. Lamentablemente no ten&amp;iacute;a soporte para Rails 3. Mirando un poco m&amp;aacute;s me di cuenta de que estaba implementado usando t&amp;eacute;cnicas de monkey patching (not a big fan) y que ya no le estaban dando mucha bola. Contact&amp;eacute; al mantainer y lo consult&amp;eacute; respecto al mantenimiento, y sobre una nueva versi&amp;oacute;n para Rails3. Me dijo que no ten&amp;iacute;a tiempo.&lt;/p&gt;

&lt;p&gt;Dado que realmente necesitaba algo para brindar dicha funcionalidad, decid&amp;iacute; escribirla de cero, por mi cuenta. Esta nueva versi&amp;oacute;n se &amp;#8220;engancha&amp;#8221; elegantemente de Rails 3, y ha sido testeada &amp;#8220;bastante&amp;#8221;. Debo confezar que por primera vez us&amp;eacute; TestUnit (antes era 100% rspec). Estuvo bueno.&lt;/p&gt;

&lt;p&gt;El c&amp;oacute;digo se encuentra aqu&amp;iacute;: &lt;a href=&quot;&#8217;http://github.com/lucasefe/themes_for_rails&quot;&gt;ThemesForRails&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Compatibilidad, Instalaci&amp;oacute;n y el resto de la fruta:&lt;/h2&gt;

&lt;p&gt;Para simplificar, se usa exactamente  igual que el theme_support, aunque su instalaci&amp;oacute;n es a trav&amp;eacute;s de rubygems. Requiere Rails 3, obviamente. El readme cuenta con un mont&amp;oacute;n de informaci&amp;oacute;n.&lt;/p&gt;

&lt;p&gt;En fin, espero que a alguien le pueda servir tanto como a mi.&lt;/p&gt;

&lt;p&gt;Salud, Rubyistas. Nos vemos en &lt;a href=&quot;http://rubyconfuruguay.org/en&quot;&gt;Uruguay&lt;/a&gt;, no?&lt;/p&gt;
</content>
  </entry>
  
</feed>

