Articles tagged 'new look'

  • Writing elegant HTML with HAML

    January 4, 2012

    This post was originally published in the Rambling Labs Blog on January 4, 2012.

    Another cool thing that we learned while building the new Rambling Labs site was HAML. It’s a markup language that is based on the premise that ‘Markup should be beautiful’, in their own words.

    It’s very easy to install, just add gem 'haml' to your Gemfile and run bundle install. To use it, replace your view_name.html.erb file with a view_name.html.haml file.

    Like SASS and CoffeeScript, to achieve the beauty it professes, HAML uses indentation to determine what it should do next. This means, and you guessed it, that it writes beautifully.

    Compare this ERb file:

    <div id="single_post">
      <h2 class="post_title"><%= link_to post.title, post %></h2>

    Continue Reading →

  • Generating your site menu with the 'simple-navigation' gem

    January 3, 2012

    This post was originally published in the Rambling Labs Blog on January 3, 2012.

    One of the cool things I learned while building our new site was how to generate your site navigation menu without having to do the highlighting logic yourself.

    There’s a great gem out there for this called simple-navigation, which you can find on GitHub. It’s easy to set up and use, so you will probably do what you need to do really quick. To install, add it to your rails application Gemfile:

    gem 'simple-navigation'

    Then, run bundle install. After it’s installed, generate the configuration file for it, which will be the config/navigation.rb, with the following:

    rails generate navigation_config

    Go ahead and open the config/navigation.rb file, and add your…

    Continue Reading →

  • New look for Rambling Labs!

    December 30, 2011

    This post was originally published in the Rambling Labs Blog on December 30, 2011.

    As you may have noticed, our logo, our favicon, and our site and blog have a new look. We have added a pretty Home page, a cool Contact page and an informative About us page. Also, the blog has moved from it’s original location at the root of the domain to Every old blog post link and blog tag link has been taken care of and redirects to the new location.

    The site is gonna be used as our portfolio site, and will be our first thing to show to our customers. We plan to use it as the center of our developed products and projects. But, hey, don’t worry, we won’t stop blogging!

    How the site came to be for the first time…

    Continue Reading →