Me
About
Gallery
Company
Girl


Projects
Ruby on Rails
Basecamp
Highrise
Backpack
Campfire
Ta-da List
Writeboard


More
Feed
Archives

May 14, 19:19

Video from Ruby on Rails, Take II

My wonderful hosts from Roskilde University has completed the editing process on the footage from my Ruby on Rails, Take II presentation. It's a two-hour show split into a 1-hour presentation followed by a 1-hour tutorial.

If your default player won't eat that, Quicktime will play the feed. Copy rtsp://komm-video.ruc.dk/20040506/rubyonrails.mp4, pick Open URL in New Player, paste, enjoy.

UPDATE: If streaming doesn't work for you, a downloadable version (160MB / MPEG-4) is available.


Challenge by Kyle Cordes on May 14, 20:40

It would be quite helpful to have a downloadable version of this, rather than only the streamable. The ugly reality of streaming web video for a great many users, it that it basically doesn't work.

Challenge by Carl-Johan Kihlbom on May 14, 23:22

Great presentation! I'm looking forward to hearing more about Rails... "soon".

Did you find the cause of the last bug?

Challenge by Anders Engström on May 14, 23:53

Yeah, a downloadable feed would be nice indeed. I haven't managed to get Xine to accept that URL in any way :/

Challenge by Sascha Ebach on May 15, 1:23

Doesn't work for me. Newest Quicktime says 10060: Disconnected. Maybe already too much ppl hang on the stream. It would be great to have a torrent of this file so bandwidth could be saved.

Challenge by Niels Castle Andersen on May 15, 9:03

Downloadable version at

http://akira.ruc.dk/~castle/rubyonrails.mov

Plays nice with QuickTime or directly from Safari.

Challenge by Anders Engström on May 15, 10:40

Very nice. Thanks Niels!

Challenge by Cor-Bob on May 16, 5:33

I'm still downloading it, but my friend says i should get into ruby and rails ;) actually i think you know him, but i wont tell you who he is:P i think i read somewhere he helped with the postgresql and sqlite databases. anyways that is all i have to say until after i see the presentation.

Challenge by Cor-Bob on May 16, 5:43

well then i guess i have to wait either untill i finish installing gentoo, or i boot back into windows, cause i'm in knoppix right now, and my ramdisk isn't big enough to view it:(

Challenge by Amix on May 16, 14:18

Very nice presentation! I am going to give Ruby a try :-)

Right now I code in PHP and it really pisses me off that it's so hard to separate the different things from each other. Now - - I can't wait to see how Ruby and Rails can help me accomplish this :)

Did you fix that bug with comments.body?

Amir

Challenge by gabriele on May 16, 14:25

wonderful video, but beware: our expectations from rails are getting bigger and bigger, :)

Seeing the presentation I've been thinking: did you thought about adding a what-could-go-wrong/common-problems document in the rails packages?
I love when there is somethoing like that in libraries or apps, and thinks it's really useful for beginner users

Challenge by Michael on May 16, 23:46

Damn... wanting to try out ruby, i've banged my head against a very annoying apache wall for the last 3 hours.

Everything works in the terminal, but in apache i just get an internal error. And documentation on ruby and os x is sparse.

Challenge by Dan on May 17, 0:07

While waiting for the release of Rails, can you let us know what the database client you were using in the video is?

Challenge by Michael on May 17, 0:13

cocoaMySQL...

http://cocoamysql.sourceforge.net/

Challenge by David Heinemeier Hansson on May 17, 0:16

Amir: I haven't had a spare moment to look at the code and won't before the bachelor's project is done on Wednesday. I'll be sure to track it down and report back — I'm sure it's something silly ;).

Gabriele: Right. I hope the balloon can hold all that hot air I'm pumping it with.

Michael: Are you using CGI or mod_ruby? Try having a look in the error_log from Apache. Ruby dumps the stack trace in there. Also, make sure to send proper headers before attempting to output, like with "puts CGI.new.header".

Challenge by Michael on May 17, 7:54

i'm using mod_ruby and in the error_log i get something along the lines of "require: trying to load from unsafe directory (SecurityError)"

btw... what is the difference between CGI and mod_ruby with eruby?

Challenge by David Heinemeier Hansson on May 17, 10:00

That sounds like a safe level violation. Until you learn more about Ruby and safe levels, I'd advice you just turn it off while playing. Like with a httpd definition such as this:

<IfModule mod_ruby.c>
RubyRequire apache/ruby-run
# RubyRequire auto-reload
RubySafeLevel 0
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>

Challenge by Michael on May 17, 10:11

hmmm... now i get a 403 permission denied...

it sure isn't easy to begin learning ruby :P

Challenge by Michael on May 17, 10:17

wohoooo... eruby works... but .rbx files doesn't

Challenge by David Heinemeier Hansson on May 17, 10:23

The rbx files need to be executable, like CGI scripts. And accessible to the Apache user. So something like chmod 755 should do it.

Challenge by Michael on May 17, 10:45

didn't work... do you have any good links on web development with ruby?

Challenge by Michael on May 17, 10:54

needed "Option ExecCGI" on the .rbx files... Thx for the help... Nice links still appreciated :-)

Challenge by Amir on May 17, 11:34

David: Let's hope so :-)

Is it possible to get a(n) alpha/beta version of Rails? I am thinking of updating my personal site, and would like to build it on Rails and Ruby - I am thinking of making a l33t blog system, and with your presentation it looked fairly easy! :-D

Anyway:
I am also running a Mac - - and I just stole an idea from you - - Now I also have some virtual desktops, with the l33t cube effect :-D It's a good way to work, much better than using dock or tab+cmd.

cocoaMySQL is also very nice - I was just looking for something like this (hmm kinda of weird that google didn't find it) - - have used phpmyadmin for some time and it just lacks speed.

Challenge by Amir on May 17, 11:35

Btw. good luck with the bachelor's project!

Challenge by gabriele on May 17, 17:01

michael: hanging #ruby-lang @ irc.freenode.net, join the ruby-talk mailing list (or comp.lang.ruby, the two are mirrored) is a good way to start learning :)

Btw, I'd start playing with ruby and the web using WEBrick with ERB instead of Apache+mod_ruby+exerb

PS
surely you already read this, but in any case:
http://www.rubydoc.org/book/p320.htm

Challenge by JP on May 18, 0:35

David, you've inspired me to try my hand at Ruby!

I've never been very clever about installing new Apache modules—Mark Liyanage's Entropy Apache & PHP package has really saved me in the past. I'm now trying to enable eruby and mod_ruby on my iBook, but I'm having a devil of a time.

Does anyone know of a good (comprehensive, hand-holding) resource to get Ruby working with Panther?

Challenge by Sascha Ebach on May 18, 14:16

JP: You surely tried http://www.google.com/search?q=mod_ruby+OS+X?

Challenge by Olaf Klischat on May 30, 19:32

Sorry, found this page just today and the video appears to be gone (both the stream and the downloadable version). Right? Does this have to do with the fact that the page was mentioned in comp.lang.ruby this morning? Will the video be made available again?

Challenge by Niels Castle Andersen on October 18, 21:41

I just checked the video links. Both the streamed and downloadable versions are online and ready to rock.

Challenge by Reid on December 06, 7:40

I am watching the video, and there seems to be a big jump at 1:33:07 -- the very first controller has been created with script/new_controller and a model is about to be created with scripts/new_model, but then suddenly we see an edit of "post.rb".

Those missing minutes would really help me to understand model objects vs controller objects and follow along. Any chance of a fixed video being made available?

Challenge by Reid on December 06, 7:41

Oh, btw, the streaming version has the same problem..

Challenge by craps odds sheet on May 08, 20:50

Please visit the sites about pacific poker pacific poker http://www.juris-net.com/pacific-poker.html how to play craps how to play craps http://www.juris-net.com/how-to-play-craps.html ho slot cars ho slot cars http://www.juris-net.com/ho-slot-cars.html let it ride poker let it ride poker http://www.juris-net.com/let-it-ride-poker.html blackjack strategies blackjack strategies http://www.juris-net.com/blackjack-strategies.html play poker game play poker game http://www.juris-net.com/play-poker-game.html net gambling net gambling http://www.juris-net.com/net-gambling.html slot 1 motherboards slot 1 motherboards http://www.juris-net.com/slot-1-motherboards.html online betting poker online betting poker http://www.juris-net.com/online-betting-poker.html wood poker tables wood poker tables http://www.juris-net.com/wood-poker-tables.html free slots no downloads free slots no downloads http://www.juris-net.com/free-slots-no-downloads.html winning at slots winning at slots http://www.juris-net.com/winning-at-slots.html free craps game free craps game http://www.juris-net.com/free-craps-game.html roulette betting roulette betting http://www.juris-net.com/roulette-betting.html blackjack chart blackjack chart http://www.juris-net.com/blackjack-chart.html diablo 2 gambling hack diablo 2 gambling hack http://www.juris-net.com/diablo-2-gambling-hack.html gambling machines gambling machines http://www.juris-net.com/gambling-machines.html gambling impacts gambling impacts http://www.juris-net.com/gambling-impacts.html microsoft zonecom blackjack microsoft zonecom blackjack http://www.juris-net.com/microsoft-zonecom-blackjack.html florida gambling cruises florida gambling cruises http://www.juris-net.com/florida-gambling-cruises.html legalize gambling legalize gambling http://www.juris-net.com/legalize-gambling.html forms of gambling forms of gambling http://www.juris-net.com/forms-of-gambling.html legal internet gambling legal internet gambling http://www.juris-net.com/legal-internet-gambling.html who invented gambling who invented gambling http://www.juris-net.com/who-invented-gambling.html gambling laws gambling laws http://www.juris-net.com/gambling-laws.html gimp roulette gimp roulette http://www.juris-net.com/gimp-roulette.html jack black cheap jack black cheap http://www.juris-net.com/jack-black-cheap.html vegas blackjack rules vegas blackjack rules http://www.juris-net.com/vegas-blackjack-rules.html asino roulette asino roulette http://www.juris-net.com/asino-roulette.html jack black and tenacious d movie jack black and tenacious d movie http://www.juris-net.com/jack-black-and-tenacious-d-movie.html roulette system professional carrie roulette system professional carrie http://www.juris-net.com/roulette-system-professional-carrie.html russian roulette mp3 russian roulette mp3 http://www.juris-net.com/russian-roulette-mp3.html black jack betting black jack betting http://www.juris-net.com/black-jack-betting.html free video keno games free video keno games http://www.juris-net.com/free-video-keno-games.html genweb keno family genweb keno family http://www.juris-net.com/genweb-keno-family.html ... Thanks!!!

Challenge by den on June 04, 12:04

Hi. This is my links.
mature anal mature gallerys lyrics to older country songs south indian mature women free naked older women older women and younger men mature spunker mature nud3 pics mature ladies in lingerie classic mature mature living older moms mature gallerys mature nud3 pics older moms mature nud3 pics older moms nud3 senior women classic mature south indian mature women older s3xy women mature amature mature amature nud3 senior women mature gallerys mature nudists photos mature anal classic mature mature video mature gallerys mature amature mature anal mature spunker classic mature mature ladies in lingerie mature spunker mature ladies in lingerie south indian mature women free thumbnail pictures of older women mature nudists photos

Challenge by boris on June 04, 19:54

Hello. I am new here. It is very interesting.
teen anal creampies creampie t9p creampies movies japanese creampie links cum creampie creampie video clips xyx creampies ass creampie wife oral creampies xyx creampies creampie video clips creampie t9p creampie video store free creampie pics free mature creampies free creampie video creampies movies teen anal creampies ass creampie free creampie video teen anal creampies creampie t9p free creampie thumbnails creampies movies free creampie video free creampie thumbnails creampie pussies japanese creampie links cum creampie creampie t9p hairy creampie ass creampie creampie video clips free creampie pics free free anal creampie movies creampie video store creampie pussies cum creampie hairy creampie free creampie video

Challenge by jon on June 05, 17:32

Hello. I am new here. It is very interesting.
mature nud3 women mature women nud3 older thumbs mature amateur free mature older women younger men older women younger men free mature mature 1esbians mature nud3 women mature wives free mature free mature mature women nud3 mature 1esbians mature men galleries older women younger men mature asian dating mature women older men younger women free older women mature nud3 women older women younger men mature women in stockings mature wives free mature free older women mature 1esbians mature 1esbians old naked women old naked women mature women in stockings dating mature women older thumbs mature women nud3 mature nud3 women mature babes mature 1esbians mature amateur free mature

Challenge by nickol on June 06, 11:34

Sorry for my links
how to meet older women mature asian women how to meet older women young girls older men naked old women thumbs mature index mature women over 40 older 1esbians naked old women thumbs mature nudists older women stories older 1esbians mature pic gallery mature glamour mature pic gallery mature nudists black older ladies older women stories mature index how to meet older women free older women galleries mature asian women free older women galleries mature pic gallery older holland how to meet older women older holland older black women mature glamour mature index older women stories mature pic gallery mature women over 40 how to meet older women naked old women thumbs mature women over 40 mature mistress mature hardcore links mature big tits mature glamour

Challenge by mary on June 08, 0:21

Hello. I am new here. It is very interesting.
satin panty galleries white pantyhose white pantyhose girls in nylons office girls in nylons mature pantyhose pics white pantyhose white pantyhose men's pantyhose mature pantyhose pics white pantyhose girls in nylons winnie-cooper pantyhose winnie-cooper pantyhose satin panty galleries cheerleader panty pics free teen panties winnie-cooper pantyhose girls in nylons hooters girls in pantyhose free teen panties hooters girls in pantyhose free teen panties pantyhose images white pantyhose panty thumbnails panty post men's pantyhose free teen panties free teen panties panty thumbnails men's pantyhose celebrities in pantyhose panty fetish pantyhose images men's pantyhose free wet panty satin panty galleries satin panty galleries white pantyhose

Challenge by nickol on June 08, 4:16

Sorry for my links
teens in pantyhose wolford pantyhose free pantyhose pics teen panty pictures teen panty pictures teen panty pictures panty line pics pantyhose pic gallery wolford pantyhose crotchless pantyhose men in panty pics teens in pantyhose men in panty pics pantyhose fetish teen panty pictures pantyhose men teens in pantyhose little school girls panties teen panty pictures free panty galleries teen panty pictures silkies pantyhose men in panty pics free pantyhose sites mature women in nylons bra and panty pics little school girls panties pantyhose foot gallery wolford pantyhose pantyhose foot gallery teen panty pictures panty girls panty girls free pantyhose pics free pantyhose pics bra and panty pics teen panty pictures men in panty pics free pantyhose sites free pantyhose pics

Challenge by mara on June 08, 19:20

Hi. This is my links.
mature 1esbian s3xy mature women daily mature boobs mature content nud3 mature black women older pussy top mature t9p's older women pictures free mature s3x pics free pics mature ladies mature personals mature s3x pics s3xy mature women older pussy free pics mature ladies nud3 mature men nud3 mature men mature personals mature personals victor mature nud3 mature mature older t9p free mature movies mature 1esbian mature older t9p free mature movies top mature t9p's daily mature boobs daily mature boobs mature s3x pics older women pictures mature 1esbian nud3 mature men free mature movies nud3 mature black women s3xy mature women free mature movies nud3 mature men meet older women free mature s3x pics

Challenge by poker rules on June 21, 1:59

You can also check out some relevant information about poker rules poker rules http://poker-rules.zindagi.us/ ...

Challenge by internet casino on June 22, 9:14

You may find it interesting to visit some information in the field of internet casino internet casino http://www.scottishtutors.com/internet-casino.html .

Challenge by online pharmacy on June 24, 8:02

You are invited to check out some relevant information dedicated to online pharmacy online pharmacy http://www.thebest-pills/online-pharmacy.html pharmacy pharmacy http://www.thebest-pills/pharmacy.html weight loss pills weight loss pills http://www.thebest-pills/weight-loss-pills.html ...

Challenge by online pharmacy on June 24, 8:02

You are invited to check out some relevant information dedicated to online pharmacy online pharmacy http://www.thebest-pills/online-pharmacy.html pharmacy pharmacy http://www.thebest-pills/pharmacy.html weight loss pills weight loss pills http://www.thebest-pills/weight-loss-pills.html ...