33 people want to do this.

master Rails


 

People doing this:

  • San Francisco
    1 entry
  • Vaudreuil-dorion
    1 entry
  • Brussels
  • Glendale
  • Chapel Hill

  • See all people

    People doing this are also doing these things:

    Entries

    Chris Cooke finds 43Things thinks he's an extroverted, creative, self-improver.

    Advanced Rails Studio 19 months ago

    I spent three days last week at an Advanced Rails Studio put on by Pragmatic Studio. I spent the days in the studio, then the evenings coding away.

    For my level of proficiency (I was probably at the lower end of what was appropriate for their material) I found it to be extremely useful.

    One step closer to what I would consider “mastery”.



    Chris Cooke finds 43Things thinks he's an extroverted, creative, self-improver.

    Catching up on Railscast 2 years ago

    I’ve had a bit of spare time to take in some archive episodes of Railscast. Most of them are pretty useful.



    Chris Cooke finds 43Things thinks he's an extroverted, creative, self-improver.

    What is "mastery"? 2 years ago

    I came up with my personal definition of mastery as a security professional. I realized there was no longer any joy in browsing the security books at the bookstore, because there were no useful security books there for me. There might be the odd useful chapter here or there, but by and large every book had stuff I already new. I was no longer learning the field, but growing with it as it grew via online sources.

    So now I’m shooting for the same level of mastery with Rails, agile development, project management, and business.



    Feel free to keep tabs on me... 2 years ago

    Everyone is free to follow my code blog on this journey.

    http://www.theopensourceguys.com/wordpress/

    This blog is mainly technical and deals solely with Rails, ruby and associated technologies I’ll be using (ActiveWarehoure, Mongrel, Rake etc)

    Incidentally this ties in with my “mastering Ruby” and “Changing my Corporations way of Thinking…” things.



    I heart Rails 2 years ago

    Rails is so cool, you have to think of reasons not to use Rails in your project. Even if you’re a plumber.



    Full speed ahead 2 years ago

    So I started with the intention of just seeing what this Ruby on Rails thing is… and for the past 3 days I have been up till 5am!

    I am using Agile Web Development, Ruby for Rails Developers.

    I think for someone into web applications, I see myself designing my first Rails app in about 3 weeks time.

    Solid stuff this! anyone here want to collaborate on writing a rails app?



    First things first 4 years ago

    Design. I absolutely must finish the design of my first rails app. Right now I am spending a good deal of rails time just messing with snippets to see what works and what does not.

    Enough already!

    Time for some serious work to begin.



    Installing Ruby on Rails on Debian system 4 years ago

    Setting up Ruby and Rails
    Installing required packagesFirst you’ll have to get the required ruby packages:

    apt-get install libruby libruby1.8 ruby ruby1.8 libzlib-ruby1.8 libyaml-ruby1.8 rdoc1.8 libiconv-ruby1.8 irb1.8 libreadline-ruby1.8 libcurses-ruby1.8 libbigdecimal-ruby1.8 libdrb-ruby1.8 liberb-ruby1.8 Now that everything is in place, get RubyGems. Either compile it from source or install Debian packages by adding
    deb http://www.sgtpepper.net/hyspro/deb ./
    deb-src http://www.sgtpepper.net/hyspro/deb ./
    to your /etc/apt/sources.list and running
    apt-get install libgems-ruby libgems-ruby1.8
    Now you should have met all requirements to install rails with gem. To do this, run:
    gem install rails
    Installation script will prompt you about installing dependencies (rake, activerecord, actionpack, actionmailer) – press Y to all questions.Creating a new Rails application Go to the directory of your choice and run this command:
    rails ;
    Chances are, if you did everything as written above, it will print a lot of commands and exit without errors, leaving you with the following folder hierarchy:
    /path/to/your_application
    app/
    config/
    db/
    doc/
    lib/
    log/
    public/
    script/
    test/
    vendor/
    CHANGELOG
    README
    Rakefile

    Congratulations, you’ve just created a framework for your first Ruby On Rails app! You can now start a WEBrick servlet by running
    cd your_application
    ruby script/server
    which will fire up a webserver on your port 3000 (open your browser and point to 127.0.0.1:3000) or proceed to set up Apache for running your Rails application. Modifying Apache config file Debian has a pretty usable Apache configuration by default setup so it won’t be covered in this article but supposing you already have some page running on your webserver, I’ll show you how to setup a VirtualHost for Rails application we have recently created. We begin by openning Apache’s config file (that is /etc/apache/httpd.conf) in your favorite editor (mind you that this file is owned by root so you should either start the editor in root console or by using sudo). Find the VirtualHost section (the last one) and add these lines right there:
    ServerName some_name
    DocumentRoot /path/to/your_application/public/
    ErrorLog /path/to/your_application/log/apache.logOptions ExecCGI FollowSymLinks
    AddHandler cgi-script .cgi
    AllowOverride all
    Order allow,deny
    Allow from all
    Now we have to change the permissions of app’s folder to give Apache full access to its contents. Apache process is running as user www-data of group www-data so open a root console and run
    chown -R www-data:www-data /path/to/your_application
    And now we can make Apache reload its config file and see the results by running (as root):
    /etc/init.d/apache reload
    But first we have to make sure that our VirtualHost is resolved by your browser. If your server is running locally, the easiest way is to open (once again as root) /etc/hosts in your editor and add some_name (replacing it with the name you set in the VirtualHost config above) to the end of line starting with 127.0.0.1 to have something like this:
    127.0.0.1 localhost some_name
    That’s it, now you can open your browser and type: http://some_name Apache FastCGI setup for Ruby Installing required packages Now you have to install FastCGI module for your version of Apache and Ruby’s FCGI bindings. For Apache 1.3.x:
    apt-get install libapache-mod-fastcgi
    apt-get install libfcgi-ruby1.8
    For Apache 2.0.x:
    apt-get install libapache2-mod-fastcgi
    apt-get install libfcgi-ruby1.8
    Modifying Apache config file Open /etc/apache/httpd.conf in your favorite editor and add these lines:
    FastCgiIpcDir /tmp/fcgi_ipc/
    Open .htaccess file in your application’s public/ folder and change the line
    RewriteBase /dispatch.cgi
    to
    RewriteBase /dispatch.fcgi
    to let Apache and Rails know that you want to use FastCGI from now on.



     

    I want to:
    43 Things Login