Archive for the ‘Rails’ Category

Day 2 @ RailsConf 2007

Today was a longer day, being the first day of the Conference (yesterday was the Tutorials Day) we had the opening Keynote from David Heinemeier Hanson (DHH). He had some really interesting things to say about the future of Rails in 2.0 and some Milestones.

Milestones:

  • Over One Million Downloads, with 700,000 in the last year.
  • Hundreds of plugins made for Rails (conservative number)
  • Over 1600 attendees this year with over half getting paid to develop with Rails.
  • Commercial Grade IDE’s from some big players.
  • A rash of new books.

Rails 2.0:

  • It’s real and it’s coming soon. DHH actually said “It’s not a Unicorn”
  • Using Highrise as an example, 24 controllers with 22 of them being restful showing that the new stuff works and works great.
  • Shopify and Fluxiom are both using Active Resource.
  • Action Web Service will no longer be part of Rails 2.0, but it will be available as a plugin. It will be replaced by Active Resource.
  • Friends and Allies:
  • Ajax
  • REST
  • OpenID
  • Breakpoints are back
  • New Debugger - ruby-debug
  • Much better http peformance
  • Cacheing for your js and css file, this looks really cool.
    • <%= javascript_include_tag :all, :cache => true %>
    • <%= stylesheet_include_tag :all, :cache => true %>
  • Wildcard asset hosts to allow for more open connections for your page assets.
  • Query Cache
  • config.initializer is much simpler now.
  • Sexy Migrations, this started as a plugin.
  • http authentication
  • Licensing assumes MIT,
    • script/generate plugin defaults to MIT
  • Rails is getting crufted, so it’s cleaning time
  • Posted by mnoga on May 19th, 2007 No Comments

    Day 1 @ RailsConf 2007

    Well I’m here, I got in late last night (about 3AM EST / 12AM local time here in Portland, OR). I’m staying at a hotel that goes by the name of “The Jupiter Hotel”. It’s a nice place, nothing that amazing but it does have a nice atmosphere and it’s within walking distance to the Conference Center.

    The first day consists of two tutorials, there are about 8 but you can choose two to attend. I chose “Intro to Test Driven Development for Rails” and “When V is for Vexing: Patterns to DRY up your Views” The Test Driven tutorial was really good, I got a lot from it that I think will help my development. The V is for Vexing is a different story. The first half of this one was a bit slow, I didn’t get very much from it, I’m hoping the second half will be better. Were on break right now so after the second half I
    I’ll update this after the second half is over.

    UPDATE !!!

    Sorry this comes a day late, the WiFi here is anything but reliable, and in my hotel it’s just non existent. I suppose I should also mention the local Brew Pubs here are quite nice as well, so you can blame them in part for this delay as well……

    So, the second half of V is for Vexing was not all that much better than the first half. Now ow this could be just me since I just couldn’t hear the speaker that well. Now, that being said, there was some really good advice and some valuable examples so it was not at all a total waist of time.

    Posted by mnoga on May 17th, 2007 No Comments

    Pesky “mkmf” load error in Ruby on Ubuntu

    If your getting an “mkmf (LoadError)” when trying to install a gem like this one;

    $ sudo gem install mongrel
    Building native extensions. This could take a while…
    extconf.rb:8:in `require’: no such file to load — mkmf (LoadError)

    You probably just need to install dev files for Ruby. The standard apt-get install ruby does not install everything you need, it has something to do with the Debian Packaging Guidelines. But don’t worry this is a simple fix.

    $ sudo apt-get install ruby1.8-dev

    And that “should” do it. Good luck!!

    Posted by mnoga on April 5th, 2007 1 Comment