WEB Ruby on Rails

Discussion in 'OT Technology' started by Shampoo, Dec 8, 2008.

  1. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    I've never had such a difficulty with code before, Ruby is supposed to be easy, such BS, I can't get a hello world to display.

    Is there a good tutorial out there on just getting started? I have it installed, but can't get it to work properly.
     
  2. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory
    In for answer, havent even touched ruby yet... but should someday...
     
  3. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    http://www.jonathansng.com/my-rails-20-tutorials/

    not sure wtf you're doing...souldn't be that hard
     
  4. retorq

    retorq What up bitch??

    Joined:
    Dec 14, 2006
    Messages:
    6,061
    Likes Received:
    0
    Location:
    Mohave Desert
    There were a few threads in the computer and programming area a few months back ... I'm not into it so I didn't pay too much attention but that might help. :big grin:
     
  5. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    Everyone keeps saying that. Must be that I'm impatient, but then again PHP was much easier to get started.

    I get to the scaffold, then it refuses to continue after that by saying "wrong constant name"
     
  6. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    post the stackdump
     
  7. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    bro how come your ruby on rails blog looks like an audi site
     
  8. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    Audi on Rails :cool:
     
  9. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    Code:
    script/generate scaffold Book title:string description:text
    wrong constant name Title:stringController
    
     
  10. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    what version of rails did you install?
     
  11. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    are you sure you have 2.0 isntalled?
     
  12. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    not sure, how would i be able to tell?
     
  13. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    rails -v
     
  14. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    If you're struggling with Ruby itself, just about every web language now has multiple frameworks that implement the Rails concepts, so you could evaluate those that PHP has (though there's a lot).
     
  15. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    the beauty of rails is not necessarily the framework, but the language itself
     
  16. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Even though the language is a big part of Rails, most people that go to it are doing it for the framework features like good MVC, scaffolding, ActiveRecord, migrations, Prototype/Scriptaculous integration etc - all of which can (and have been) applied in other platforms.

    I find unless someone has programming in their blood, they can get what they want out of Rails out of existing frameworks, leveraging whatever language they already know.
     
  17. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    Rails 1.2.3

    that might be the problem
     
  18. ge0

    ge0 New Member

    Joined:
    Oct 31, 2005
    Messages:
    8,398
    Likes Received:
    0
    Location:
    JERSEY
    I use rails at work.

    You want to get an good IDE.

    I reccomend RadRails for Eclipse.
     

Share This Page