×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Apple Publishes Ruby On Rails Tutorial

ScuttleMonkey posted more than 8 years ago | from the big-pictures-that-ever-your-manager-can-understand dept.

228

bonch writes "Apple has noticed the high amount of Mac usage in the Ruby on Rails community and has posted an illustrated Ruby on Rails tutorial. The document goes into more concise detail in getting new users up to speed, from database schema to moving beyond scaffolding, all done with the favored Rails editor, Textmate."

cancel ×
This is a preview of your comment

No Comment Title Entered

Anonymous Coward 1 minute ago

No Comment Entered

228 comments

Figures (-1, Troll)

Anonymous Coward | more than 8 years ago | (#14815492)

Only mac-users would want a tight coupling between their database and GUI...

Re:Figures (0, Flamebait)

sxtxixtxcxh (757736) | more than 8 years ago | (#14815501)

seven minutes between the article posting and the first anti-mac sentiment? slashdot, you feeling okay?

Re:Figures (-1, Offtopic)

Anonymous Coward | more than 8 years ago | (#14815550)

So, yours is the first?

Re:Figures (0)

Anonymous Coward | more than 8 years ago | (#14815569)

From TFA " And all members of the Rails core development team work with Macs "

And then FFP " seven minutes between the article posting and the first anti-mac sentiment? "

Hah!! I wont anti-Mac but could this be another bad technology like Macromedia Flash, very annoying to users yet the darling of developers?

Re:Figures (1)

Decaff (42676) | more than 8 years ago | (#14815597)

very annoying to users yet the darling of developers?

Only those developers who can't see that a tight coupling between your code and your database is not a good idea.

Re:Figures (0)

Anonymous Coward | more than 8 years ago | (#14815622)

So, you think reinventing the wheel when it comes to GUI is a great idea? One database, one platform independent GUI - sounds perfect to me,

Re:Figures (-1, Offtopic)

Anonymous Coward | more than 8 years ago | (#14815647)

But then again, you dont have any experience in creating agile applications for real-world customers in consolidating markets.

nice (1)

jlebrech (810586) | more than 8 years ago | (#14815494)

seems like a nice tutorial, even for non-os x users. I'll have to bookmark it on my site.

Re:nice (0)

Anonymous Coward | more than 8 years ago | (#14816490)

Don't bother. It would be a waste of your time because your site is ugly and completely useless.

So.. (1)

PeterSomnium (954672) | more than 8 years ago | (#14815512)

Now I'm finally able to get the Ruby Apple in Lufia on the SNES?

Re:So.. (1)

akheron01 (637033) | more than 8 years ago | (#14815592)

That was Lufia 2! Although in the original Lufia you needed to find a Ruby to get through the three towers puzzle.

Re:So.. (1)

PeterSomnium (954672) | more than 8 years ago | (#14816005)

Lufia 1 & 2 were, in my opinion, after the Zelda series, the best RPG ever.. but anyway, on-topic.. I don't think they mean the Ruby Apple here :-(

Re:So.. (1)

akheron01 (637033) | more than 8 years ago | (#14816035)

Don't be so quick to pass up some fantastic lesser known games such as Paladin's Quest, the innovative control system and illegible item names as well as the difficulty and the HP based magic system made a lot of casual gamers pass it up, but if you can get your hands on it it's one of the most fun and challenging RPGs for the SNES

Ruby Is Groovy (5, Funny)

ObsessiveMathsFreak (773371) | more than 8 years ago | (#14815536)

Jobs: Ruby is groovy man. It's got like, vibe. We had to get in on that.

Gates: C# with .NET offers more flexibility with less development worries and higher performance...

Jobs: Man! Talk about Squaresville! Ruby is hip man! It's a love machine. A child of the earth.

Torvalds: Ruby is based on perl, which is in turn based on bash scripting, which I like.

Jobs: You see man! Ruby is a free spirit. It grows in like, the sunshine. It doesn't obey your rules!

Gates: But it's just another paradigm. .NET can accomplish all the same....

Jobs: On Rails man! Rails!!! It's like hyperspeed into the cosmos. And that's why its fit for Apple's attention. Now if you'll excuse me, I have to go get some podcasts over rss, browse some blogs, do some yoga. You dig?

***Jobs walk's away clicking fingers rhythmicly***

Gates: But it's all just flash and hype. Nothing really new is going on! .NET does all this! Why won't anyone listen? You believe me right?

Torvalds: Look man. I really just don't give a shit.

Re:Ruby Is Groovy (2, Insightful)

Anonymous Coward | more than 8 years ago | (#14815546)

.NET's ORM system is nowhere near as complete or useful as the one in Rails... You're kidding yourself if you think otherwise (and yes, I have tried development in both systems and Rails beats .NET hands down)

Re:Ruby Is Groovy (1)

Pollardito (781263) | more than 8 years ago | (#14815878)

.NET's ORM system is nowhere near as complete or useful as the one in Rails... You're kidding yourself if you think otherwise (and yes, I have tried development in both systems and Rails beats .NET hands down)
dude, read closer, it's Bill Gates that's kidding himself

Re:Ruby Is Groovy (0)

Anonymous Coward | more than 8 years ago | (#14815973)

Wow. Sarcasm is completely lost on you, isn't it?

Re:Ruby Is Groovy (0)

Anonymous Coward | more than 8 years ago | (#14815568)

I actually would go with the "Gates" personality in your little chamber play. It IS just another hyped up silver bullet, and the current infatuation with it wont last.

Look out for the rabid fanboys here on Slashdot though, the Jerks on rails. Fastest prototyping and biggest mouths in town, with an ego that makes a Lisp programmer look humble.

Re:Ruby Is Groovy (1)

Jearil (154455) | more than 8 years ago | (#14816196)

That's interesting. First you attempt to attack a platform (the one under topic naturally), and then immediately attack the users of that platform before they can place any defense as, you know, a second opinion on why they may disagree with you. You even attack the fact that they might disagree with you in a way that makes any sort of defense appear as though they are just spouting out fanboi flames.

Instant defense without even an attack, such as what you have shown here, really makes one wonder if their arguments can stand on their own merits. I for one believe they cannot.

Re:Ruby Is Groovy (1)

jlebrech (810586) | more than 8 years ago | (#14815574)

Something like ruby is what apple needs to compete with .net.

It's another subset of ADA but the language is ment to be more readable and is more human the C#

Re:Ruby Is Groovy (2, Insightful)

LarsWestergren (9033) | more than 8 years ago | (#14815607)

Something like ruby is what apple needs to compete with .net.

It is not like there is only room for a single programming language on a platform...

Besides, Apple already uses Java, for instance it built the highly successful WebObjects [apple.com] around it. If, against all odds, .Net would completely wipe out Java there is always Mono.

Re:Ruby Is Groovy (1)

guet (525509) | more than 8 years ago | (#14815627)

WebObjects wasn't built around Java, or even on top of it. It was ported to Java after being written in Objective C.

However your point still stands, there are many frameworks to choose from on both platforms, there doesn't have to be One True Way, in fact, it's harmful to think that way.

Re:Ruby Is Groovy (1)

jbolden (176878) | more than 8 years ago | (#14815675)

Ruby -- A pretty cool scripting language.
Ruby on Rails -- A pretty cool web applications framework using Ruby .NET - A complex framework unifying a virtual machine written in a functional programming language (CLI) with the interpretive frameworks that most programmers are familiar with (language specific compilers). Ships with a complete IDE, hundreds of low level OS functions, implementations for some of the popular programming languages, a full set of widgets covering graphics, database access, networking....

_____

Your statement is like saying: Something like the whopper is what McDonald's needs to compete with Boeing's new engine.

Re:Ruby Is Groovy (1)

Eivind Eklund (5161) | more than 8 years ago | (#14816411)

Here we go again :)

Isn't the present split between programmers about 50-50 with Windows experience and without? I know I don't run into Windows programming that often, and I tend to run into more Unix than Windows programmers, even outside Unix circles...

Part of that is probably that I tend to like the "deep knowledge crowd" everywhere, and Windows is hard to have deep knowledge of, but I thought I'd seen statistics indicating about 50-50?

Eivind, questioning...

Re:Ruby Is Groovy (1)

LarsWestergren (9033) | more than 8 years ago | (#14815681)

Something like ruby is what apple needs to compete with .net.

Sorry, I was a bit quick to answer in my previous post, I completely missed you point. Here comes second try:

People who like Apple are hardly going to be swayed to PCs by .Net of all things. There are plenty of programming environments both for desktop apps and enterprise things, such as Objective C, Java and others.

Neither are .Net developers likely to swarm to Macs because of Ruby.

So while Ruby for Mac is a nice thing by all means for Mac developers, this does nothing for overall marketshare, which will depend on completely different things.

Re:Ruby Is Groovy (0)

Anonymous Coward | more than 8 years ago | (#14815723)

Very true. I do think this just shows that MacOSX is an excellent development platform.

Re:Ruby Is Groovy (2, Insightful)

k2r (255754) | more than 8 years ago | (#14815582)

> Ruby is a free spirit. It grows in like, the sunshine. It doesn't obey your rules!

It's more like "Ruby doesn't get in your way!" as Rails dosn't do (most of the time) and OSX avoids to do quite successfully , too.

Chunky. Bacon.
k2r

Re:Ruby Is Groovy (1)

mosch (204) | more than 8 years ago | (#14816732)

I disagree with that statement thoroughly.

Ruby is fantastic. Rails will probably be fantastic in about two years. Right now it's an immature product that gets in your way constantly, if you do anything seriously involved in it. Rails error messages range from "moderately unhelpful" to "holy shit obscure".

It seems that premature rails hype is leading to coders looking at it, and deciding that ruby is a shitty, inflexible, immature language, when they're blaming the wrong thing.

Mac and Ruby history (0)

Anonymous Coward | more than 8 years ago | (#14815540)

Not that surprising as both Mac and Ruby were very popular in Japan already and Mac OS 10.2 also had Ruby installed by default. Using Ruby therefor seems like an easy step up from Applescript.

And now with Ruby-On-Rails being a killerapp for forward looking web designers seeing crosslinks between Mac users and Ruby users reaffirms the designer's idea that developing in Ruby is a reachable goal, as many others Mac users seem to have taken a similar path and already master Ruby.

Now is the time... (1)

bogaboga (793279) | more than 8 years ago | (#14815547)

...to delve into Ruby. I was kind of tired of trying other tutorials (mainly from the internet) as I fouind them incomplete and sincerely wanting. Thanks to slashdot for the link.

Re:Now is the time... (1)

dtsazza (956120) | more than 8 years ago | (#14815983)

I was kind of tired of trying other tutorials (mainly from the internet) as I fouind them incomplete and sincerely wanting.
Did you see Programming Ruby: The Pragmatic Programmer's Guide [rubycentral.com], by Ruby's creator Yukihiro Matsumoto? It's a freely-available transcript of a paper book, and I'm halfway through and finding it good going.

Now I'm only playing with Ruby at the moment, so I couldn't say how the examples and sections stand up to heavy industrial use, but if seems an excellent introduction and the tone and flow are both good!

Re:Now is the time... (1)

evolve75 (759569) | more than 8 years ago | (#14816187)

Actually it is the 1st edition of THE Ruby book (similar to the Camel book for Perl). This edition is somewhat outdated, but still a very good introduction and easy reference to the class libraries. BTW, the book has an introduction by Matsumoto, but has been written by Dave Thomas and Andy Hunt - not Matz.

Re:Now is the time... (1)

moongha (179616) | more than 8 years ago | (#14816197)

You're correct that Programming Ruby (The pickaxe book) is an excellent introduction to Ruby.

But it wasn't written by Matz.

About The Authors

Dave Thomas is a cornerstone of the Ruby community, and is personally responsible for many of its innovative directions and initiatives. He and original co-author Andy Hunt are founders of the Pragmatic Programmers and the Pragmatic Bookshelf. Chad Fowler is co-director of Ruby Central, Inc., and remains an active, driving force in the Ruby community.

O'Reilly to the rescue (0, Offtopic)

CRCulver (715279) | more than 8 years ago | (#14815548)

It's nice to have a free tutorial, but Amazon reports that O'Reilly is releasing something called Ruby on Rails: Up and Running [amazon.com] in May. This will be good for those among us who have become addicted to O'Reilly's efficient guides.

Re:O'Reilly to the rescue (0)

Anonymous Coward | more than 8 years ago | (#14815585)

How nice of you to spam Slashdot with your Amazon referrer ID. Feel like linking to another thousand or so books we're all too dumb to find?

Re:O'Reilly to the rescue (1)

flipper65 (794710) | more than 8 years ago | (#14815654)

Actually, you can order the 'rough cuts' version of the book now and download additional content as the author writes it.

Re:O'Reilly to the rescue (0)

Anonymous Coward | more than 8 years ago | (#14815990)

It's nice to have a free tutorial, but Amazon reports that O'Reilly is releasing something called Ruby on Rails: Up and Running in May. This will be good for those among us who have become addicted to O'Reilly's efficient guides.

I have the Rough Cuts of this; skip it. Compared to other titles I've seen in Rough Cuts, this one is poorly written and lacks depth.

Baskin Robins (1, Funny)

Mr. Underbridge (666784) | more than 8 years ago | (#14815573)

Hey, I hear Baskin Robins is coming out with a new ice cream this month, "Ruby."

This month only though, flavor of the month. Next month they're doing AJAX.

Re:Baskin Robins (1)

Rosyna (80334) | more than 8 years ago | (#14815595)

I had assumed they'd just release a Bubble Gum-like flavor called Web 2.0.

Perhaps we should ask The Question?

Re:Baskin Robins (0)

Anonymous Coward | more than 8 years ago | (#14815635)

This is the worst joke I've ever heard.

OS X Ruby doesn't work with Rails? (1)

Larthallor (623891) | more than 8 years ago | (#14815599)

According to Apple's article:
The version of Ruby that ships on Mac OS X Tiger is 1.8.2, but it doesn't work well with Rails. So you'll need to upgrade your Ruby installation as well as install a newer version of Rails (as of this writing, use version 1.8.4).
So my question is: if Apple thinks Ruby on Rails is such hot shit, why doesn't they just upgrade their version to 1.8.4 via Software Update?

Re:OS X Ruby doesn't work with Rails? (0)

Anonymous Coward | more than 8 years ago | (#14815618)

If you bother to KEEP READING, they mention that their chosen install system installs a SECOND copy of ruby so that anything relying on the default one in OSX isn't hosed. Simp.

Re:OS X Ruby doesn't work with Rails? (3, Interesting)

skribble (98873) | more than 8 years ago | (#14815697)

So my question is: if Apple thinks Ruby on Rails is such hot shit, why doesn't they just upgrade their version to 1.8.4 via Software Update?

Because it's probably not fully tested to work with Tiger. The only system updates you get with Software Update and bug fixes and security fixes. Occasionally you'll get something else which works behind the scenes with an updated iApp as well (there have been minor CoreImage and other framework pieces updated this way).

This is just good sense, it's stability vs. cutting edge. Also it can be a very bad thing to update the system incrementally (Ask Microsoft who have been bitten by this many times... often updating one thing can have unexpected results on others.

Also, for a developers interested in using Rails, updating Ruby is fairly trivial. I would also add that often even if Apple includes the latest version of something you may want to compile it yourself anyway (Apache, PHP. MySQL are good examples of things that people will often *upgrade* right out of the box).

Re:OS X Ruby doesn't work with Rails? (1)

newdamage (753043) | more than 8 years ago | (#14815782)

Here's a tutorial for getting a completely self contained Rails dev environment ready to go on OS X, without having to worry about the default OS X Ruby install not supporting Readline and such.

Ruby on Rails, Lighttpd, MySQL on OS X Tiger [hivelogic.com]

It's also a good tutorial for learning in general how to get the development tools you need and compiling them from source into /usr/local/

Re:OS X Ruby doesn't work with Rails? (1)

Mark Hood (1630) | more than 8 years ago | (#14815854)

Because later in that same paragraph:

It starts by installing Ruby 1.8.4 without overwriting the system-installed Ruby (it puts the new version in /usr/local). That way, the default system works as expected for other users or programs already coded for the system-installed ruby.

Now if you'd asked why 1.8.4 might break things expecting 1.8.2, that's another question :)

Mark

Re:OS X Ruby doesn't work with Rails? (1)

squiggleslash (241428) | more than 8 years ago | (#14815922)

There's something wrong, somehow, about the notion that a "mature" framework requires the absolute bleeding edge version, such that 1.8.4 works and 1.8.2 doesn't.

Mind you, it could just mean there's a bug in 1.8.2/.3 that happened to break RoR, so I'll reserve judgement.

Is Ruby "stable"? That is, is it still under intensive development or are we looking at minor upgrades to fix bugs and such in the implementation?

Re:OS X Ruby doesn't work with Rails? (1)

Peter Cooper (660482) | more than 8 years ago | (#14816323)

No, it's that Apple's version of Ruby is screwed up. I still run most of my Rails apps on 1.8.2 (25th December 2004 build).

Because... (1)

Hamhock (73572) | more than 8 years ago | (#14816256)

... the majority of Apple users don't care about Ruby or Ruby on Rails, so there really isn't a reason for a Software Update upgrade that only .5 % (maybe less?) of their users want. For those that do care (such as myself) it's a relatively painless upgrade doing it yourself.

I think (0)

Anonymous Coward | more than 8 years ago | (#14815632)

You all just like saying "Ruby on Rails."

Looks interesting (1)

ROOK*CA (703602) | more than 8 years ago | (#14815652)

Haven't really had an opportunity to look much at either Ruby or RoR, this tutorial looks interesting, anyone out that works with RoR got any opinions on the availability/quality of tools and how it lives on other OS platforms...say Linux or FreeBSD?

How does it stack up against Java for ease of development and/or performance/flexibility?

Re:Looks interesting (2, Interesting)

lennart78 (515598) | more than 8 years ago | (#14815690)

I've been spending quite some time working on it on an OS from Redmont. I'd reckon the experience can be compared to that on any *NIX/BSD you prefer.

The main things I have to say about tools is: I haven't found the right tool. Yet.

The scintilla-based editor that comes with rails is ok, but no more than that. I'd prefer an IDE, with some project management and such. It seems like there are some possibilities with eclipse. http://www.napcs.com/howto/railsonwindows.html#_To c111133460 [napcs.com]

But I still have to check that one out...

Re:Looks interesting (1)

ROOK*CA (703602) | more than 8 years ago | (#14815714)

Cool thanks for the reply & the link, definitely a plus if the Eclipse plug in works well with this framework (Eclipse is a great IDE IMHO).

Re:Looks interesting (1)

bloobloo (957543) | more than 8 years ago | (#14816109)

I used that tutorial at the weekend - you'll obviously have to setup MySQL yourself but it's a great guide. Use a Subversion repository, and I'm sure Switchtower [rubyonrails.com] could be integrated to allow easy deployment too.

Re:Looks interesting (0)

Anonymous Coward | more than 8 years ago | (#14815849)

How does it stack up against Java for ease of development and/or performance/flexibility?

My opinion;

Smaller projects - strengths of Ruby is greater.

Bigger projects - strengths of Java is greater.

At my job we are currently using Ruby for prototyping and small projects, if the project grows we move it to Java.

Re:Looks interesting (1)

ROOK*CA (703602) | more than 8 years ago | (#14816055)

At my job we are currently using Ruby for prototyping and small projects, if the project grows we move it to Java.

What tools are you using (for Ruby and Java) and how would you rate their effectiveness/quality? do you find it easier to port your smaller ruby projects over to java when it's needed?

Thanks in advance :)

Re:Looks interesting (0)

Anonymous Coward | more than 8 years ago | (#14816057)

I've been using RoR for a couple of projects (small) the last few months. I've found it capable of running on OSX and M$ well enough. My research has shown the main difficulty for most is in deploying a production install cleanly. However, these problems are likely addressed (search on RoR production deploy for more info) in common deployment scenarios.

As for IDE's.... The "Ruby Development Tool" (RDT) for Eclipse has nice potential! It's home page is: http://rubyeclipse.sourceforge.net/ [sourceforge.net]. Naturally, it requires Eclipse [eclipse.org].

HTH

Another great tutorial, but.... (3, Insightful)

MrByte420 (554317) | more than 8 years ago | (#14815666)

The authors of rails books need to stop writing tutorials and write some comprehensive documentation. Even the page is quite lacking. [rubyonrails.org]

For example, suppose you have a time field, not a date field, no year, just time. And you want to create that element in your webform.

If it were date, you'd use date_select, pass it the name of the object and the name of the field, and your done, you get a nice input box. Suppose you want the same thing for time, its still date select with a series of discard attributes, e.g.

date_select('meeting','starttime', :discard_year => true)

However, you as the person looking for the documentation for this are led on somewhat of a goose chase becuase your time input box information is not even close to what you'd expect (time_select perhaps?) and you should be looking under "date" for "time".

(Incidentally, Rails 1.0 has a bug where it seems to ignore :discard_year so the whole exercise is quite fustrating when you do find the docs, but i can live with bugs that will be fixed)

Re:Another great tutorial, but.... (1)

Eil (82413) | more than 8 years ago | (#14815974)

The authors of rails books need to stop writing tutorials and write some comprehensive documentation.

This is what pushed me away from Rails not long after I started looking into it. Aside from API guides and the like, all real documentation on Rails and Ruby is outdated or sparse. Sure, there are lots of Rails tutorials out now, plus there's Why's Poignant Guide, but these alone are not nearly enough. The RoR community's answer is, of course, to simply buy the Programming Ruby and Agile Web Development with Rails books.

Right, spend over $50 on books just to see what RoR is all about? No thanks. The authors must be making a killing right now since there really is no other up-to-date documentation for these technologies out right now.

Re:Another great tutorial, but.... (1)

MrByte420 (554317) | more than 8 years ago | (#14816088)

Don't get me wrong, the pragmatic progarmmer's book is pretty good, but its sparse in many parts.

Re:Another great tutorial, but.... (0)

Anonymous Coward | more than 8 years ago | (#14816074)

It's not a manual, but the API docs [rubyonrails.com] are very conclusive. In addition to explaining what each component does and giving examples, it answers almost any question, including yours.

"Hmm... a time selector. That's probably related to date_select. Oh, look at that! ActionView::Helpers::DateHelper has a datetime_select function!"

And, if you're wondering why it doesn't have a time_select function, that's because your database doesn't have a time data type either. If you really, really want one anyway, you can use datetime_select, it just takes a little more work.

Re:Another great tutorial, but.... (1)

MrByte420 (554317) | more than 8 years ago | (#14816138)

MySQL has a time type. Besides, why does this have to be so difficult. I spent an half an hour on this little conquest for something that I should find an answer for in the index. I was writing a script tracking portal, I really didnt' want datetime, I just wanted time. And I certainly didn't want datetime in my input...

Re:Another great tutorial, but.... (0, Troll)

Infernal Device (865066) | more than 8 years ago | (#14816421)

The first time I visited the site, there was some sort of video tutorial about assembling a RoR site - which is absolutely useless if you're trying to find real information. That turned me off of Ruby almost instantly. There is a time and a place for video, but when you're trying to understand information and would prefer to go at your own pace, that is not it. I've never looked back - I have little reason to suspect that they've gotten any better.

It's good day (1)

pepicek (710120) | more than 8 years ago | (#14815672)

I, for one, welcome our new overlords on Ruby on Rails on Mac OS X (roromoxes?).

Especialy when I hope to be one of them :D.

In what (will be) new in rails 1.1 [scottraymond.net], you will find more interesting stuff about that beautiful framework and its future. Worth reading if you are flirting with RoR.

Usual omission... (1, Insightful)

Anonymous Coward | more than 8 years ago | (#14815677)

"In version 2 of my generic Ruby On Rails tutorial, I'll show you how to add some security to your site, so that not everyone can delete your todos/add expenses/edit your photos".

  Nooo! You've got to get security right from the start! Start with minimal privilege and add only that that is required. Otherwise you'll end up with an unholy holey mess.

  If your web-based framework lets you write something that lets you modify anything on the server without either logging in or explicitly telling the code its okay, then choose another framework ASAP.

  Yes you can add-on security to RoR, but it'll always be an add-on...

Apple did'nt write this tutorial (1)

concept10 (877921) | more than 8 years ago | (#14815702)

from the Rails weblog

The Apple Developer Connection doesn't supply any attribution for their articles, but this one was written by none other than Mike Clark [clarkware.com], who along with Dave Thomas [pragprog.com] runs the always-sold-out Pragmatic Studio [pragmaticstudio.com] series of Ruby on Rails and Ajax training.

Not exactly provided by Apple... (1)

newdamage (753043) | more than 8 years ago | (#14815748)

As noted on the Ruby on Rails weblog, the author is Mike Clark, who is fairly involved in the Rails community. He's not an Apple employee though. The ADC article just doesn't have his name on it, so it mistakenly seems like this tutorial came from within Apple.

Concise, interesting (1)

ursabear (818651) | more than 8 years ago | (#14815827)

The tutorial is concise and clean - a must for folks like me that don't have tons of time... I appreciate the post to ./ about this... my son has been asking about Ruby, and neither he nor I have had time to do anything with it at this point.

I agree that the article should be attributed. It's important to give credit where credit is due. It's also interesting that the article mentions http://macromates.com/ [slashdot.org]">TextMate. TextMate is a nice concept.

Simple tutorials like this are critical to the adoption of many technologies - but it would be nice to see better documentation about the everyday use of Ruby and ROR {nudge, nudge}.

To pre-empt nuclear (or as the prez sez: new-queue-lurr) return strikes, let me say this: Tools like Ruby can be a real treat. I love the use of many languages (Java, Smalltalk, ObjC, etc.), but other, more lightweight tools make things come together in a big way for lots of jobs - use the tool and/or environment that works best, and do your best to work your craft the best way you can. It isn't about platforms or languages - its about design, solving problems for the users, and maybe getting to make a living along the way.

But where would you use it? (1)

ch424 (888921) | more than 8 years ago | (#14815894)

How many web hosts offer Ruby? In fact, how many web hosts run OSX? I can see this working on your own computer, for things like their example in the tutorial, and maybe for an app within a corporation but on the web there doesn't seem to be a feasible application for it. There's more truth than you think in ObsessiveMathsFreak's funny post. ch424

Re:But where would you use it? (1)

concept10 (877921) | more than 8 years ago | (#14816002)

There are many hosts for Ruby on Rails, all you need to do is some clickety, clickety on the wiki: Asia
  • FreeOnRails [freeonrails.com] Offers free RubyOnRails hosting with FastCGI support using cPanel/Fantastico - 100 MB space/1 GB Bandwidth. (By India based developer)
  • Hardfocus Media [hardfocus.com] Full-service hosting in Japan. cPanel, Ruby on Rails, FastCGI, PHP, MySQL, etc. (Support in English)
  • RailsHost.cn [railshost.cn] We support Ruby on Rails, FastCGI, PHP, MySQL, SSH-access and so on. (Chinese speaking)
Australia
  • Hostcentral [hostcentral.net.au] Australian based hosting provider with full Ruby-on-Rails support. MySQL, PostgreSQL, PHP, Python and Perl support also provided. Melbourne based servers with 99.5% SLA.
  • SegPub [segpub.com.au] Segment Publishing is a Sydney, Australia-based company who specialise in standards-compliant web development and FreeBSD-powered web hosting. Supports PHP, Perl, Python, Ruby on Rails (via Lighttpd), Subversion and more.
  • WebSpace.net.au [webspace.net.au] Australian web hosting company providing ruby on rails support, as well as support for all the other well known web-development languages (PHP, Perl, Python, .NET). All of our staff are technically minded (either systems administrators or programers), and are committed to bringing you the best support and web-hosting experience possible, bar none!
Europe
  • Blackcurrant Hosting [blackcurranthost.co.uk] Blackcurrant Hosting offers Free Ruby on Rails hosting (FastCGI) with Unlimited MySQL databases. PHP4 & PHP5 also provided, as well as SSH access. cPanel-based hosting. Free--£0/year! We also offer paid plans from £25/Year.
  • GsFactory.Net [gsfactory.net] Ofertamos RoR con todos nuestros planes Linux, desde 3.5$/Mes. Ademas de PostgreSQL y JSP/Servlets con Tomcat. Now we offer RoR with our Linux Packages. Starting from 3.5$/Month.
  • gradwell dot com [gradwell.net] Gradwell dot com Ltd (www.gradwell.com [gradwell.com]) offers ruby on rails hosting, with mysql, ssh access and others like php, mysql etc. Hosted on our own big unix server cluster in London. Customer support provided by a small team of 10 in Bath, South West UK.
  • ProInet.se [proinet.se] Now offering Ruby On Rails with our standard packages, we are one of the first Swedish hosting companies so offering this. Starting from 10:-SEK/Month for the cheapest package.
  • nobudget hoster [validcode.at] Now offering Free Typo Hosting! Cheap Plans with full suport. We install evrything you need to runn your Application! We currently provide Ruby on Rails, Symfony and Django, a lot more coming soon!
  • Bytemark Hosting [bytemark.co.uk] provide Linux Virtual Machines from ?15p.m. (this package has 80MB RAM, 4GB disc space and 25GB transfer). This is plenty for supporting a Rails application, MySQL database and lighttpd, and we're happy to use and support Rails ourselves. Plus you get root access; no sharing necessary.
  • Hospes.pl : hosting [hospes.pl] Probably first in Poland hosting service based mainly on PostgreSQL [rubyonrails.com]. Offers both fundamental and advanced services for corporate and regular customers. Supports Ruby on Rails, PHP, Perl, CGI, Python, MySQL [rubyonrails.com], PostgreSQL [rubyonrails.com], etc.
  • myhosting [myhosting.de] - a small but professional german (EU also) hosting provider with a personal touch. Highly flexible and all the features you want. Up-to-date Ruby and Rails with MySQL [rubyonrails.com] and PostgreSQL [rubyonrails.com], shell access and of course all the standard php, stats and mail stuff. Rails based control panel.
  • Net.Ru [www.net.ru] Russian hosting provider that offers Ruby On Rails with MySQL and Postgres, SSH access and much more including Python, Perl, PHP, Java, Lisp.
  • .webflow - german/european provider [webflow.de] Talk to us - we fullfill your wishes - as a provider and developer. In business since 1997. We support Ruby on Rails, FastCGI, PHP, MySQL, SSH-access, ... you name it.
  • Rushedsunlight.com - no nonsense, with Rails support [rushedsunlight.com] Servers include Ruby on Rails / FastCGI pre installed, with MySQL [rubyonrails.com] 4.1. All in one package for 10 per month. Includes 500MB initial but scaleable space, email on separate server and just general fun loving hippy-ethic no-nonsense philosophy!
  • Server Nation [servernation.nl] Professional business to business webhosting provider based in the Netherlands, offering Ruby and Rails on all shared and dedicated hosting setups, from 9,- per month. Registered Eurid member.
  • Typhon.net [typhon.net] French/european web hosting provider which uses and supports ruby and rubyonrails. We provide full shell access (ssh, sftp, scp), postgresql, mysql, ruby, python, perl, php(4 & 5). We are flexible and we are very interested in Ruby (as provider and developper) so feel free to ask what you need !
  • UnBit.it [unbit.it] Italian ISP for programmers. Always supports the latest rails release from 28/year. FastCGI? [rubyonrails.com] enabled. Contact info@unbit.it [mailto] for more info.
  • uplink coherent solutions(TM) [uplink.at] - Vienna, Austria based company offers professional hosting solutions. Service with a personal touch. Extremely flexible both service-wise and with pricing schemes. Up-to-date Ruby and Rails with MySQL [rubyonrails.com] and PostgreSQL [rubyonrails.com], shell access and all the standard php, stats and mail stuff.
  • Xentra [xentra.nl] Xentra offers Railshosting in FastCGI mode under Lighttpd in combination with MySQL on a FreeBSD platform, tuned for optimal perfomance. Good indepth support. Please contact sales[at]xentra.nl for more information
  • Wish Internet [wish.hu] A flexible Hungarian web hosting and development company for ambitious webizens and firms. Offers cutting-edge web solutions. Provides Drupal and Ruby on Rails pre-installed environments with on-demand support and services. Customers can use SSL, .htaccess, webstat, etc.
New Zealand
  • Simplehost [simplehost.co.nz] New Zealand-based (with USA High Bandwidth servers). Apache2, Lighttpd, Ruby 1.8, Rails, PHP 5, MySQL, Python, fastCGI on Debian 3.1 from NZ$10/mth if paid for 12mths
  • Seven Internet [seven.net.nz] New Zealand-based (with fast New Zealand servers). Apache 2 with FastCGI, Latest Ruby and Rails releases, PostgreSQL, MySQL on Debian from NZ$20/month
  • Skull [skull.co.nz] MySQL 5, Ruby, Rails, Apache 2 from NZ$15
North America
  • 3SHost [3shost.com] A rails package is now available. Very affordable rates and responsive support.
  • A2 Hosting [a2hosting.com] Finally the benefits of cPanel web hosting control panel and Ruby/Rails are put together! Come check out this amazing control panel and the other services we offer including PHP 5, Perl, Python, MySQL [rubyonrails.com] 4.1, PostgreSQL [rubyonrails.com] 8.1, and more! All support is done by actual system administrators and knowledgable programmers so you can be assured of an accurate response.
  • AmbitiousLemon [ambitiouslemon.com] is a non-profit community based hosting group that offers powerful free hosting, with Ruby on Rails, PHP, PERL, mySQL, Postgresql, subversion, and much more. Check out our rules [ambitiouslemon.com] to see if you qualify. [Note] We are only accepting non-profit members until we find new PHP and ROR volunteers to complete community tools.
  • Apis Networks [apisnetworks.com] is a niche hosting provider concentrated with helping out Web developers. We offer Ruby on Rails with FastCGI? [rubyonrails.com] and suexec, MySQL [rubyonrails.com] 5.0, PostgreSQL [rubyonrails.com] 8.1, PHP5, and Subversion/CVS version control coming soon backed by our SOAP-callable [apisnetworks.com] custom control panel. Packages start at less than $5 a month.
  • AVLUX Solutions [avlux.net] - provides everything you need for code development, including Ruby on Rails and Subversion. AVLUX Hosting [rubyonrails.com] provides the latest gems, we use FastCGI and support LightTPD, Instiki and Typo. Trac and/or Collaboa to support your Subversion repositories. Customer support is our forte. No setup fees. 99.9% uptime. AVLOOKS [avlooks.net] technical blog.
  • A Small Orange [asmallorange.com] supports Ruby on Rails with FastCGI? [rubyonrails.com] support. gem installs of helpers and libraries are supported upon request. All hosting plans support Rails, and start at $2.50 per month. I signed up with ASO for one of their shared hosting plans, with the intention of hosting a Typo blog and perhaps other Rails applications. Their FastCGI support is awful and Rails applications are basically unusable because they're so slow. I think the situation may be better with their dedicated hosting plans. --Lyle (2006-02-07)
  • CanadianWebHosting.com [canadianwebhosting.com] - Linux/Windows shared, dedicated and VPS servers. All in Canadian prices with Ruby support.
  • Csoft.org [csoft.net] - Redundant AMD64-based servers running Linux/FreeBSD/OpenBSD with direct connectivity to UUNET/MCI backbone. $25/month package provides Ruby on Rails support with 4GB of storage, 5 shell accounts, unlimited domains/DBs, CVS/SVN accounts and more. Free trial accounts are available.
  • Cybersalad [cybersalad.net] - Very friendly, linux (debian) based with access to either postgres or mysql, host using fastcgi / apache and have a very capable tech team. I'm not directly related to them, but have a project up there and will go back for future projects. What more can I say?
  • DewaHost [dewahost.com] - DewaHost has been providing quality web hosting service since 2001, our price starts from $8.95/month and we do support Ruby on Rails.
  • DreamHost [dreamhost.com] Only $7.95/month--20GB storage (+160MB/week), 1TB transfer (+8GB/week), Rails, MySQL [rubyonrails.com], SSH, sftp, PHP5, WebDAV [rubyonrails.com], shell access, unlimited domains, custom DNS records, includes registration of one domain. Promo codes that will save you on the initial costs are listed at DreamhostRailsPromoCodes [rubyonrails.com] along with whom they will benefit. (Note: if you try to sneak your affiliate code into the link you will be reported to DreamHost and lose all affiliate fees).
  • eTecc.net [etecc.net] Ruby on Rails Hosting in our Reseller accounts starting at just $5 / Month with Instant Activation, cPanel / WHM, Fantastico, and RVSkin. Unlimited domains, and unlimited emails too from $17 / Month. eTecc [etecc.net] gives you reliablity and a range of features for a good price.
  • Fuse9 [fuse9.net] Fuse9 provides web hosting, semi-dedicated and reseller services. Plans start at $5.77/month. Fuse9 has full PHP4,5,Python, and Ruby on Rails support.
  • GeekISP [geekisp.com] is a hosting provider offering full Rails support, many additional Ruby modules, as well other languages (Java, Perl, C, PHP). Their architecture is highly secured since it is based on \OpenBSD, and they have excellent failover and redundancy strategies.
  • GrokThis.net [grokthis.net] offers full support for Ruby on Rails, FastCGI? [rubyonrails.com] enabled starting at $10.95/mo, or with standard CGI from $5.95/mo. Several databases are available, including MySQL [rubyonrails.com] 5.0, PostgreSQL [rubyonrails.com] 8.0, and SQLite. Full SSH access is provided. Also checkout our 2005 Holiday Special [grokthis.net] for 6 free months.
  • Honeycomb [honeycomb.net] is a world-class hosting provider offering full Rails support, many additional Ruby modules, as well other languages (Java, Perl, C, PHP, ColdFusion, ASP .NET). They have data centers in Minneapolis and Chicago with excellent failover and redundancy strategies.
  • Hosting Rails [hostingrails.com] offers free Rails hosting for the curious developer, a live-searchable directory list of Rails hosting plans from around the Net, and other helpful information for deploying Rails apps online.
  • HostingFellows [hostingfellows.net] Rails, PHP 5 Hosting, Reseller Accounts Only. Starting at $7.95 per month, 3000mb Space, 50000mb Bandwidth, Private Name Servers with Instant Activation (Protected by FraudGate), CPanel, WHM, and Fantastico, more plans avaliable. 95% off your first month! Coupon code 95PERCENT (a total discount as low as $7.55).
  • HostM.com Web Hosting [hostm.com] provides multiple domain Rails hosting with FastCGI? [rubyonrails.com] support and daily gem updates at $7.95/mo (billed annually). Bad Host [hostm.com] Hostm on average hosts 800+ websites per server. You deal every day with heavy server overload, very often site and email does not respond. They recently removed their public forums at "www.hostmforums.com", because they received a lot of complaints. Additionally they don't provide any direct contact information.
  • HostingMetro.com [hostingmetro.com] - Hosting services from small to large businesses.
  • JaguarPC [jaguarpc.com] - JaguarPC has provided webhosting services to thousands since 1998. Our gigadeal plan starts at $7.97/month with 6000MB storage, 180GB transfer, Rails, MySQL, SSH, PHP5, and unlimited domains.
  • MonsterHosting.ca [monsterhosting.ca] - We offer Ruby on Rails on Canadian servers.
  • MysticServer [mysticserver.com] Ruby on Rails on all plans! Our plans start at $5/mo (or $50/year)
  • Netfirms [netfirms.com] - Better Than Dedicated Hosting - 20GB diskspace, 750GB monthly bandwidth, Rails, PHP5, SSH, MySQL [rubyonrails.com], 2 Free Domain Names - only $9.95 per month! Netfirms Better Than Dedicated clustered server environment delivers enterprise class performance and reliability at an affordable price.
  • NetworkRedux [networkredux.com] - has support for Ruby on Rails at $5.95 a month. And with 5GB space, 50GB monthly bandwidth and SSH support we thought that was pretty good. We (TalkingText [talkingtext.net]) have not yet made the switch but when the new site is ready it'll be all Rail'd up and ready to roll!
  • OCS Solutions [ocssolutions.com] - We offer Ruby on Rails with all of our hosting plans, including a simple wizard that lets you install one or as many Rails instances as you wish. We also offer Subversion 1.3, PHP 4.4.1 and 5.1.1, Lighttpd and Apache 2, MySQL [rubyonrails.com] 4.1/5 and/or PostgreSQL [rubyonrails.com] 8, SSH/SFTP/SCP, Secure IMAP/POP3, webmail, etc. Packages starting at $6.95/mo, with multiple-domain packages starting at $9.95/mo.
  • OpenHosting [openhosting.com] provides OpenVPS Linux Virtual Servers which can host just about anything including but not limited to RoR.
  • PeconiHosting.com [peconihosting.com] Ruby on Rails is included with each and every hosting package starting as low as $3.99 a month! FastCGI, Huge List of Gems Pre-Installed [peconihosting.com]. We have great plans for developers and alike! Check us out! Read our Tutorial [peconihosting.com] and get started with Rails ASAP!
  • Pipespring [pipespring.com] $7.95 FastCGI MySQL SSH 600MB Space 10GB Bandwidth
  • PHPWebHosting [phpwebhosting.com] provides Linux Servers with unmetered traffic and Rails installed.
  • PLANET ARGON [planetargon.com] Portland, Oregon based web & database hosting provides rails hosting [planetargon.com]. Packages include PostgreSQL [rubyonrails.com], MySQL [rubyonrails.com], SQLIte, SSH/SFTP/SCP access, IMAP, Webmail, etc. No setup fees. Starting as low as $11.25/month! Now offering blog hosting [planetargon.com] for Typo customers for as low as $3/month.
  • Plutomic Hosting [plutomic.com]. provides Linux hosting on Dell PowerEdge servers, starting at $10/mo, with a minimum of 10GB of bandwidth. No setup fees on all accounts. Accounts include Fantastico, MySQL, Cpanel, Webmail, and SpamAssassin.
  • Python-Hosting.com [python-hosting.com] is the #1 hosting provider for Python but they have been hosting Ruby sites as well for quite a while. They now officially support Rails and have a special page [python-hosting.com] about it.
  • RailsAppHosting [railsapphosting.com] (July 25) Rails hosting the easy way. 100% Lighttpd, FastCGI? [rubyonrails.com] and Subversion, plus a full-featured control panel that has been built with Rails, for Rails. We are in a beta-phase at the moment, and are accepting beta-testers (free hosting until we launch).
  • RailsPlayground.com [railsplayground.com] We offer shared cpanel linux plans starting at $24/year and Reseller plans starting at $19.95/month with support for Ruby On Rails, FastCGI? [rubyonrails.com], MySQL [rubyonrails.com], PostgreSQL [rubyonrails.com], SVN
  • RailsHosting.org [railshosting.org] offers free Rails hosting plans, tutorials for deploying Rails apps online, AJAX and JavaScript demos, and other helpful information about Ruby on Rails.
  • RailsWebHost.com [railswebhost.com] - provided by AVLUX Solutions [avlux.net] and committed to providing the most comprehensive and up to date Rails Web Hosting for innovators and entrepreneurs. Implemented with FastCGI. No setup fees.
  • RazorLogix.net [razorlogix.net] is web hosting with style. We're home to the 1-click Rails install [razorlogix.net], and offer the awesome Plesk Reloaded [razorlogix.net] control panel with plans up to 20 domains on one account. Some additional features are multiple databases including MySQL [rubyonrails.com] 4.1, PostgreSQL [rubyonrails.com] 8 and SQLite 3, FastCGI? [rubyonrails.com], Subversion [tigris.org], Trac [edgewall.com], POP & IMAP, SSH & SFTP, Urchin Statistics [urchin.com], Educational Discounts, FREE hosting for approved non-profit organizations, and more!
  • RimuHosting Ruby on Rails Hosting [rimuhosting.com] RimuHosting? [rubyonrails.com] will provide you with your own server from $19.95/month. When you order, you can request they setup your server with the latest Ruby on Rails release.
  • RootR [rootr.net] is Web hosting for programmers and security professionals. Mutliple domain names. Webmail and control panel. Secure FTP and full SSH Shell access. ruby, postgresql, mysql, perl, php, python. Graphical stats. Subdomains. transparent domain transfers with no browser downtime.
  • Server Powered [serverpowered.com] Ruby on Rails hosting with a complete Ruby on Rails VPS [serverpowered.com] Fully loaded Ruby on Rails with all the stable Gems. US based company 24×7 support.
  • Site5 [site5.com] Site5 has been providing web hosting and reseller services for over 6 years, and holds first place service-level rankings at several reputable rating agencies (recently rated #1 fastest growing web host). Plans start at $6.95/month. See Site5's Rails development work at http://engineering.site5.com/ [site5.com] See Site5Users [rubyonrails.com]
  • Squidhost.com - Ruby on Rails & PHP5! [squidhost.com] Web hosting plans start at $0.99/month ($11.88/year) for 50MB of disk space, 2,000MB of data transfer. Supports Ruby on Rails, PHP5, Perl, CGI, MySQL [rubyonrails.com], PostgreSQL [rubyonrails.com], etc. More features include: cPanel, Fantastico, email, etc. OC48 connection, Cisco Powered Network. Great for blogs, personal sites, experimenting, and more. Has not yet begun accepting customers
  • SuccessfulHosting.com : Ruby on Rails Web Hosting [successfulhosting.com] offers full support for Ruby on Rails. We offer CGI, Perl, PHP, My SQL, Postgre SQL, multiple domains, site builder, shopping cart, spam filter, antivirus filter, one-click script installers, development tools, reseller opportunities, and more. Get two gigabytes of disk space for $4.95 per month.
  • TerraBox.com [terrabox.com] is a IT Services company located in Dallas, Texas based on the idea that customer service comes first. With packages starting at $24.95/year they have the ability to serve your needs from providing a simple, reliable hosting platform to helping you from start to finish in your Internet presence needs.
  • TextDrive [textdrive.com] was originally founded using $40.000 raised by a group of 200 web professionals (the VC200), with the desire to create the best possible enviroment for any web professional to host his site. As of October 16th 2004, DavidHeinemeierHansson [rubyonrails.com] is now also part of the team behind Textdrive. See TextDriveUsers [rubyonrails.com]
  • The Internet Company [theinternetco.net] offers full service shared-server webhosting, including Rails hosting via a private lighttpd instance per customer.
  • ThinkHost - Ruby on Rails hosting [thinkhost.com] ThinkHost? [rubyonrails.com], established in 1999, offers a wide range of packages - all with Ruby on Rails support at no extra cost.
  • thoughtbot, inc. [thoughtbot.com] A full-service information technology consulting firm providing hosting, web development, custom application development, and technical support - all with Rails support.
  • max-king Hosting [max-king.com] provide Linux Virtual Machines from ?15p.m. (this package has 80MB RAM, 4GB disc space and 25GB transfer). This is plenty for supporting a Rails application, MySQL database and lighttpd, and we're happy to use and support Rails ourselves. Plus you get root access; no sharing necessary.
  • VPSLAND.com: Advanced Xen VPS Hosting [vpsland.com] VPS (Virtual Private Server) Hosting. You will have full control (root access) and will be able to install any programs or services you require. Ruby on Rails can be pre-installed at no charge upon request.
  • Web Experts America [webexpertsamerica.com] Professional Website Services for Less© and now offering Robust Rails Hosting for $1.95 per month.
  • Xelhosting.com: Xen VPS hosting [xelhosting.com] It's a VPS so you can do whatever you want including seting up RoR. You can ask them pre-install it for you too.
  • XMG Hosting [xmghosting.com] XMG Hosting provides advanced and affordable web hosting services, as well as provides full support for Ruby on Rails. Plans start at $7.95/month.
South America

Brazil

  • Locaweb [locaweb.com.br] Web hosting for Ruby on Rails, on Linux.
  • Auriance [auriance.net] Premium web hosting for Ruby on Rails, PostgreSQL and MySQL. Excellent support and 100% network uptime money-back guarantee.
  • OPEN.BSD.COM.BR [bsd.com.br] OpenBSD On Rails web hosting. OpenBSD , Lighttpd , Postgresql , Rails.

Argentina

  • WizHosting.com [wizhosting.com] : Hospedaje Web En Español, Hosting Ruby-On-Rails, PHP5 Proveedor de WebHosting Argentino, proveyendo soluciones online de gama alta desde el ano 2000, a toda la comunidad de habla hispana. Soporte en Espanol.

NOTE: kindly add new entries at its correct alphabetical position in the list and try to keep them to one paragraph of around 30 words or less.

Because nobody wants to be a LAMR (1)

balls199 (648142) | more than 8 years ago | (#14815912)

I've recently started playing with RoR, and though my first choice platform for any programming project is usually Linux, I went with OS X instead.

Unlike Linux-Apache-Mysql-Php/Perl/Python which has the nice acronym LAMP. Linux-Apache-Mysql-Ruby has the rather unfortunate acronym LAMR (pronouced lamer).

I'll stick with developing RoR on OS X.

If you're interested in my lates RoR project, check out: OSWiki [sourceforge.net]

Re:Because nobody wants to be a LAMR (0)

Anonymous Coward | more than 8 years ago | (#14815979)

Am I misunderstanding you, or are you really saying that you chose (and will stick with) OS X for doing Ruby on Rails specifically to avoid the LAMR acronym?

Wow. That's lame.

Re:Because nobody wants to be a LAMR (1)

balls199 (648142) | more than 8 years ago | (#14816527)

Actually, (for those who couldn't tell) it is just a joke. I'm sticking with OS X because I currently have a nice development environment for RoR set up on it, and, more importantly, it's what I have.

Besides, isn't OSXAMRoR a much nicer acronym?

what's so special about RoR? (0)

Anonymous Coward | more than 8 years ago | (#14815951)

I'm not trying to flame or Troll here but I would like to know what the big deal about RoR is? What can it do that PHP or Perl/Mason can't? Is it just super easy web/db development? The reason I ask is I'm looking for a new language to learn this year and I'm torn between Python and RoR. I'm already fairly adept at interfacing both php and perl with mysql, what advantages are there at choosing RoR? (I'm not looking for because it's cool... I want to know if it's just hype or if RoR is useful enough to ditch PHP)

Re:what's so special about RoR? (1)

oni (41625) | more than 8 years ago | (#14816717)

What can it do that PHP or Perl/Mason can't?

Well for one thing, they are designing it from the ground up to be safer than PHP. I actually do like PHP but damn, it's so easy to shoot yourself in the foot! I think I'm a good programmer. I constantly think about things like SQL injection. I read all the PHP documentation about the mail() function, but sure enough, I opened myself up to being a spam relay. I don't know if I was hit, but I had code out there that was vulnerable.

But I followed the docs!!

Rails users, evangelize (1)

suzerain (245705) | more than 8 years ago | (#14815994)

Hey Ruby/Rails users...giving you a chance to evangelize. I've never used it, but to me, it almost seems like a framework designed to make quick demos, but every demo I have seen is completely lacking in any design or uniqueness.

So, my question is this: how easy is it if you want to have a more complex visual layout? What If I want a form to submit to an encrypted text file? What if I need to work this system into a very intricate design?

What I'm trying to get at is: does its simplicity w/r/t getting something quick and dirty together mean it's a pain in the ass when you want to do something very special with it? Or is it equally easy to completely customize and change?

Re:Rails users, evangelize (1)

trosenbl (191401) | more than 8 years ago | (#14816200)

I am not an expert.

Rails is a framework on top of ruby that handles things for you in a default fashion ("convention over configuration" they say). But, because of the way it and Ruby are designed, you can override the default behavior. The thing is, when 9 out of 10 projects can use the default behavior, there's much less effort required, so you'll have time to do more complicated things.

However, once you've gotten your, say, form input, you can use Ruby (a fully object-oriented and Turing complete language) to modify it just the same way as you would in any other language (although I would argue that Ruby makes even this part easier too).

Look at it this way, Rails is a bit of a toolbox. Can you tackle any woodworking project with your toolbox? No. But, 90% of the time, your construction projects can be done with the basic hammer, drill, router, etc.

Re:Rails users, evangelize (1)

digidave (259925) | more than 8 years ago | (#14816380)

Give it a try and you'll find it can meet just about any needs. The HTML templates are something like JSP where you drop your data into an HTML page, so there is no limit on RoR site designs.

You'll find that most of the time Rails' data handling makes your life much easier than other frameworks. When Rails doesn't quite make the right decisions about your data you can always override the default functionality with the same or less work than would be required using other frameworks.

In my opinion, Rails is a no lose situation. Actually for me coming from a PHP and Java background it's an always win situation. I get Ruby, which is a better language than PHP or Java, plus I get Rails, which is the best web app framework I've ever worked with.

Re:Rails users, evangelize (1)

Peter Cooper (660482) | more than 8 years ago | (#14816429)

I'm a bit too busy to go into any depth, but Ruby can be a very 'meta' language (much like LISP or Smalltalk) and it's easy to override almost anything, so dealing with special cases is pretty easy.

I've developed some pretty large scale things with RoR that required a lot beyond what the framework offered, and it's been fine.. although in hindsight I can see how I should have done things a bit different. That's mainly due to a lack of knowledge of Ruby rather than Rails though. Ruby is a lot more powerful than the quick demos show, even if Rails is not.

Rails is OK, but exposes too much SQL (2, Informative)

YetAnotherName (168064) | more than 8 years ago | (#14815997)

See also this screencast [nasa.gov] for a comparison of Ruby on Rails, Zope (Plone), TurboGears, and Django. Oh, and J2EE which fares ... rather poorly in my opinion.

Warning: the screencast is 36 minutes long!

Too much SQL? (1)

archeopterix (594938) | more than 8 years ago | (#14816324)

Can you expand your point about exposing too much SQL? My worst experience with a framework was with J2EE entity beans (EJB ver. 2.0.) - the persistence layer that tried to hide the SQL only to reimplement it totally half-assedly. The EQL sucked a big time:

- no mass updates/deletes.
- no aggregation (count,max,min,sum)
- no dynamic queries
- restricted joins
I've heard they fixed it to some degree in EJB ver. 3.0, getting it close to the actual SQL expression power.

Do you know a persistence framework that doesn't expose SQL and yet gives you the power that SQL does?

screencast??? (0)

Anonymous Coward | more than 8 years ago | (#14816437)

Why the fuck do we need a new fucking name for a movie. Jesus Christ it's just a fucking .mov file!

Re:screencast??? (0)

Anonymous Coward | more than 8 years ago | (#14816488)

mod parent insightful

J2EE (1)

hotsauce (514237) | more than 8 years ago | (#14816533)

It's not as if J2EE is the only way to do web application development with Java. Some times a Mack truck is needed, most of the time a pickup [apache.org] will do.

The right tool? (1)

ErikZ (55491) | more than 8 years ago | (#14816032)

This may be a dumb question but...

Everything I'm seeing about Ruby on Rails says it's great for making "Web Applications". I'm going to start designing a new dynamic website soon, and I was wondering about building it using RoR.

I just want to use CSS, and plug the whole thing into a database.

So are they just buzzwording me, or is RoR the wrong tool to use for something like this?

Re:The right tool? (1)

digidave (259925) | more than 8 years ago | (#14816416)

"I just want to use CSS, and plug the whole thing into a database."

I'm confused. CSS works with HTML to do page layout. Ruby on Rails uses template which are written in HTML and CSS just like any other web page.

As far as just plugging it into the database, I suppose Rails is as close as you're going to get unless you just want to use a Content Management System (try joomla if you want a CMS). With Rails you build your database backend, then create a few lines of code to have Rails pull out the data and put it into the template. You can use the scaffolding feature to quickly create input forms, which might work fine as-is if you just want a quick way to drop text onto the site.

I'm trying to learn RoR, but I have some issues (1)

jocknerd (29758) | more than 8 years ago | (#14816041)

I'm going gung ho into RoR. I've bought the book from the Pragmatic Studio. I've bought TextMate. But I continue to hit a dead end. And its not getting away from scaffolding. No it comes down to an admin interface. RoR needs one desperately. And now. Django has one built in. Every tutorial on Rails is basically a one table tutorial with an occasional lookup table thrown in. Please somebody point me to a comprehensive step by step tutorial that details the creation of an administrative side of a web application.

And I'm not impressed with Apple's tutorial. Why use the migration? I prefer to create my tables with good ol' SQL saved to a text file. Store it in the db subdirectory of your Rails app. Then import it into your favorite database (plug for PostgreSQL).

Re:I'm trying to learn RoR, but I have some issues (1)

concept10 (877921) | more than 8 years ago | (#14816085)

You would want to use migrations for a variety of reasons:

* Get away from the verbosity of SQL - define your schema in Ruby

* Migrations are "database agnostic"

* Version control of your schemas

I didn't understand the benefits at first, but after I started using them, I can't go back to SQL.

It also makes your application easy to deploy, for example: You have a make a open source app, you want configuration and deployment to be as easy as possible. You define your schemas using migrations and the users basically create the databases, configure the /rails_app/config/database.yml and run 'rake db_schema_import' and they are set!

Compared with Django, RoR doesn't cut it. (2, Interesting)

Qbertino (265505) | more than 8 years ago | (#14816056)

Hey, Guys! Get with the programm. Ruby on Rails is so last-season.
Django [djangoproject.com] is where the musics at. And for good reasons too. It's more mature, easyer to use, faster in developement, less performance hungry, has a documentation that's up to date and has a grown up backend kit. It's only that they GPLd it last summer, that's why it hasn't gotten all the press yet.
And this is not to start a flamewar. Compare them both and you'll see what I mean.
The RoR and Django guys are good friends btw.

Wish they'd spend this time patching bugs (1)

GekkePrutser (548776) | more than 8 years ago | (#14816486)

Great!

However, I wish they'd spend some more time fixing important security holes in their OS rather than writing articles. We still don't have a patch for this Extremely Critical vulnerability http://secunia.com/advisories/18963 [secunia.com]. And it's been a week now.

I'd rather have a secure OS running on my powerbook than a tutorial on some programming language I've never heard of before :) And yes, I am a programmer myself. But if I wanted to program in Ruby I'd probably have found a tutorial somewhere already.

P.S.: This is not intended as a flame, just as a question where Apple's priorities lie.

I'm Shocked ! (0, Funny)

Anonymous Coward | more than 8 years ago | (#14816525)

This is all about Ruby, which is a programming language! Everyone knows you aren't programming a Mac unless you're slogging along with XCode.

So, is this Rails things really official? I wouldn't want to get in trouble.

Load More Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...