10
The First Rails 2.0 Screencast
on December 10, 2007
Page down for brazilian portuguese article
Disclaimer: This video is hosted at Veoh and can be re-linked to any website without modifying either the video or audio. I am uploading it to Google Video and Vimeo (recommended).
Update 12/12: For those of you that think I was too fast in the video, I just posted a Tutorial with most of the content you can see in the screencast plus a few bonuses. I’ve split it into Part 1 and Part 2. Enjoy!
The First Screencast
Rails 2.0 was released officially last friday and it was a coincidence because I would present a keynote about it at our local “Rio on Rails”: http://www.rioonrails.com.br event here in Brazil. In this keynote I first presented the Rails 2.0 screencast. Tonight I decided to replay it a second time and mix an english narration over it.
I didn’t do deep research but I think this is the very first Rails 2.0 screencast released – correct me if I am wrong. The inspiration was, of course, the Creating a Weblog in 15 minutes the original screencast by David Hansson that caused so much discussion and polemic and that ultimately made Rails recognized throughout the internet.
The irony is that David made the real time blog programming during his keynote at FISL (Forum Internacional de Software Livre), back in 2005 here in Brazil. At that time almost no one knew what Rails was all about and very few people attended it. Now, almost 3 years later I’d like to go full cycle over it and make the very first Rails 2.0 screencast available from Brazil again. I hope this time our local development community pay more attention.
This time Rails doesn’t have to prove itself: it’s already got past this part. 2.0 is not about revolution, it’s about a stable and steady evolution. It’s about refinement and polish, making for an even greater user experience. I am enjoying it very much.
Without further ado, here it goes:
The First Rails 2.0 Screencast from akitaonrails on Vimeo.
O primeiro screencast de Rails 2.0
Rails 2.0 foi lançado oficialmente sexta-feira passada e foi uma coincidência porque eu iria fazer uma palestra sobre isso no Rio on Rails. Nessa palestra apresentei o screencast do Rails 2.0 pela primeira vez. Esta noite decidi refazer o vídeo com narração em inglês e português (vou subir a versão em português o mais rápido possível, já está pronta).
Eu não pesquisei em detalhes mas acho que este é o primeiro screencast sobre Rails 2.0 – me corrijam se eu estiver errado. A inspiração foi, claro, o screencast original Criando um weblog em 15 minutos do David Hansson que causou tanta discussão e polêmica e que, no final, ajudou a tornar Rails reconhecido por toda a internet.
A ironia é que David fez a programação do blog em tempo real durante sua apresentação na FISL, em 2005 aqui no Brasil. Na época quase ninguém sabia o que era Rails e pouquíssima pessoas assistiram. Agora, quase 3 anos depois eu gostaria de fechar o ciclo e tornar o primeiro screencast de Rails 2.0 disponível a partir do Brasil novamente. Espero que desta vez nossa comunidade local de desenvolvedores prestem mais atenção.
Desta vez Rails não precisa mais se provar: ele já passou por isso. 2.0 não é para ser uma revolução, mas sim uma estável evolução. Ele é sobre refinamento e polimento, criando uma experiência ainda melhor. Eu estou adorando.
Sem mais delongas, vamos ao video, pela Veoh (também disponível no Vimeo):
O Primeiro Screencast de Rails 2.0 from akitaonrails on Vimeo.






Akita, parabéns pelo vídeo e pela sua palestra no Rio on Rails. Foi show !
Um abração
Cool! ;)
Fala Fábio, blz
Muito bom o screencast, mantendo sempre a qualidade que vc se propõe a dispensar em seus projetos. Por acaso vc vai disponibilizar o vídeo para download
Um abraço!
Muito bom Fábio! Parabéns de novo. Se puder disponibilizar o material da palestra ia ser muito bom também :D
Eu mandei o material da palestra para o Rafael da Improve it. Ele é muito bom para editar esses vídeos e tenho certeza que em breve ele deve publicar no site do Rio on Rails. A palestra só faz sentido se ele conseguir mixar o áudio porque senão é um screencast parecido com este que publiquei hoje mas sem áudio.
A palestra que fiz no Rio on Rails, inclusive é um pouco mais explicativa que o screencast que publiquei aqui, então vale a pena aguardar para conferir.
Akita, parabéns, muito bom! Espero que faça mais vídeos :P Vou assistir esse vídeo mais vezes. =x
[]s :)
Uma uma coisa que fica muito clara é que o Akita sabe bastante do que fala . É o tal que mata-a-cobra-e-mostra-o-pau. Outra coisa é um “cheiro de enlatado” quando se vê uma apresentação onde se mostra como deve-se fazer. Talvez seja porque é para pessoas que já conhecem o funcionamento do Rails…neste caso faz sentido. Eu, sinceramente, achei uma correria dos Diabos. Mas o Akita, esse cara, vai ficar na história, é alguém com um entusiasmo e um conhecimento incomum. Meu parabéns pra você. Você merece… muito mais do que para o Rails2.0
Ei Akita, parabéns, pioneiro mais uma vez!!!!
Ainda nãi vi o ScreenCast, mas pelos comentário ele mantém a quialidade habitual!
Abraço!
ae muito bom o tour pelas novidades do 2.0 coloca a versão em inglês no the best tech videos
Great stuff! Congratulations for putting up such useful information in such a short screencast! I’ve noticed you updated the video since RioOnRails ;-)
Very nicely done. Concise and informative.
Once thing I noticed so far is that you didn’t specify your load filter as protected or private. You don’t want this accessible from outside the controller’s control.
If I am not mistaken (I didn’t explore this deeply) you don’t have to worry because in a RESTful controller only those methods mapped to a REST action is publicly available. You have to explicitly define extra methods in the map.resource statement using the :members option.
Parabéns Akita, muito bom o screencast e bem focado em algumas das novidades!
No you are right about routing, however it can be accessed through the creation of a PostContoller object through ruby code which is not what you want. Say in functional testing.
It isn’t a security issue, but an object oriented programming paradigm principle.
Oi, gostei do seu screencast. Você afirma que é o primeiro a fazer um screencast sobre Rails 2.0, mas vc deve provavelmente conhecer o seguinte site: www.railscasts.com O autor já tem vários desses em Rails 2.0, se bem que eles são diferentes, sendo que focalizam apenas partes separadas, e não um projeto completo. Mas valeu a iniciativa.
The density of information in this screencast is fantastic. Thanks a bunch for posting it.
You’re English is great man. Thanks for the post.
Concordo com o Eraldo, esse video tá uma correria danada, fica dificil ficar entusiasmado com essa correria.
Parei de assistir no meio.
Se a sua intenção era entusiasmar novos usuários vai ficar difícil. Ainda prefiro o original do DHH.
Your presentation and your English are fantastic!
Silly me, in the namespaced admin I did, I lost the opportunity to show yet another Rails convention. Instead of doing:
I could only do:
Great job! Hope to see more posts or screencasts in English.
Really useful screencast! Brougth me up to speed on the new Rails 2.0 features in no time.
Many thanks for your efforts.
How would you protect the comments part under the admin namespace?
I repeat the whole process, until I have to modify my views, where it complains about my paths (admin_post_comment_path, edit_admin_comment_path, etc.).
Any advice is appreciated…
My bad, I was writing admin_post_comment_path([@post, comment]) instead of admin_post_comment_path(@post, comment)
Everything working now.
Very, vety nice and useful.
Tnx man.
As Sundog said: “The density of information in this screencast is fantastic”, but definitely isn’t for beginners. :)
Akita on Ruby Inside: http://www.rubyinside.com/interesting-rails-tidbits-1-671.html
Nice job.
—
Esse Akita produz como ninguém, é uma máquina de programar e publicar bom conteúdo. =P
Hello guys, after the success of the First Full Featured Screencast of Rails 2.0 I released early this week, I decided to write a Tutorial explaining the video – with a few new tidbits – in this 2 part series:
Rolling with Rails 2.0, Part 1 and Part 2
Enjoy!
Akita – Very nice job! Your screencast is wonderful and very informative – especially wrt the REST routing explanations. While Railscasts has done some R2.0 spotlights, yours is the first full-scale explanation of the new features that I’ve seen.
Also, your English is very good and your extra effort in putting out an English version is much appreciated.
Hm, what about and a non flash versions to make it more accessible and for the bunch of us who don’t want to use flash plugin.
It’s okay but why are you trying to spring through it? Slow down a little. It’s not a race!
Really awesome. Thank you
Great screencast! Thanks!
WOW. This was an amazing podcast, i learned many new things to use in rails 2.0
Thanks and keep up the great work!
Hi Akita – thanks a lot!
Very nice screencast, I learned so much to use Rails 2.0.1
Greetings from germany
Michael
If it’s not in downloadable quicktime format, I ain’t watching it. Nice try though.
Learn from Railscasts why don’t you. Flash sucks, especially for text.
Hi hk, thanks for the feedback. Gimme one reliable place to upload the video and I’ll promptly do it. Maybe you want to host it for me? It will have to handle some thousand downloads a day without cracking, though ;-)
Ta fazendo tanto sucesso que ate o veoh.com caiu! Parabens! abraco!
Great screencast! Thanks!
Akita,
muito grato por esse recurso. Realmente é muito bom. Porém confesso que se eu não tivesse visto o screencast de rest do peepcode hoje talvez não tivesse entendido nada. Para as pessoas aprenderem elas precisam respirar! E isso fica um pouco difícil naquela velocidade. ;)
De qualquer forma, valeu mesmo!
Hey fabio
Great screencast and your English is fine. Thanks for all your hard work !
Caramba, curti bastante, deu pra ter uma noção legal de nested routes (coisa que eu tava perdidão) do 2.0
[]s
Akita, estou começando com Rails agora, estou gostando muito.
Teu site é duca! o screencast ficou fera. Parabéns.
Pequena sugestão: assisti à segunda metade do video com o itunes tocando Art Tatum ao fundo, baixinho. Ficou bem agradável…
Too many laudatory comments… Excuse. Well done.)))))
Hi Akita. Greetings from South Africa. Great screencast. It was quite fast so I had to view it several times just to keep up. I have used your example to create my own project but I need to take it a step further. To use your post/comments example I would like to add an additional layer for example add a response to a specific comment(has_many => responses) so that you are able to create a response from the post/comments/show view. How would this affect the actions/nested routes in the responses controller – does it have to make reference to the comments controller only or should it also make reference to the posts controller? How would the additional method look in the responses controller i.e. load_response, @comments = Comments.find(params[:comments_id]) or should it be looking for the posts as well? Thanks in anticipation
great cast , but please speak a bit slower if you do another cast this will help much :)
“maravilha cara”, tem como vc disponibilizar para download? iria me ajudar muito, to começando a usar Rails.. e ando apanhando demais.. de qualquer maneira.. obrigado
Great screencast, Fabio. Thanks alot.
Eu vi as duas versões. Depois de ver a versão em inglês fiquei curioso para ver a ‘tradução’. Gostei, mas o inglês tem alguns problemas :P
Perfect Job, congrats…
Nicely Done tutorial. THanks for your efforts.
Akita, no codigo do comments_controller vc colocou varias referencias ao post, pq nesse screencast voce ta assumindo que o comment “only belongs_to” “Post”... E se vc tivesse uma associação polimorfica? como ficaria o comments_controller? e o routes.rb?
(estou procurando alguma coisa parecida com sua outra screencast “Easy Restful Rails”, mas sem ter que utilizar o plugin resources_controller)
regards
Thanks for the screencast! I’m looking forward to learning Rails.
Very nice screencast for people like me migrating to REST and trying to learn the new rails 2 features. Just one question, what if comments belongs to other models in addition to posts?
Extremely sincere and successful effort. I would definitely plan to learn rails, as his post have enlighten a new sense of motivation. Which could be utilized ? Keep rocking !
I am completely agree. In fact i just want to say I’m so lucky to see this artical.I agree all you said.i have now understood the importance of rails and definitely look forward to learn it. Very fine screen cast thank you very much :)
loved It thank you so much – I was getting lost with old screencasts now I am starting to understand
I am having a problem with the generate namspace controller part with my rails 2.1 installation and Im not sure if this has changed in the last 6 months or if I have a problem with my platform:
./script/generate controller Admin::Posts The name ‘Admin::PostsHelper’ is either already used in your application or reserved by Ruby on Rails. Please choose an alternative and run this generator again.
Can someone please help me resolve my confusion?
Thanks! Adam G
I’m also having trouble with the “Admin::Post”, and the only reported “fix” was already in my version of Rails (and it doesn’t actually fix the problem). Any work around beside renaming it? (and renaming the Post files works too, but it’s still just avoiding the problem instead of fixing it, plus I don’t know what effect that might have)
Nice tutorial, I noticed that with rails if you do a tutorial that was done with rails 1.2 or something and your running rails 2.0 you end up with a lot of errors. so thanks for the tutorial. If anyone else is running into the same problems I have been having with reading tutorials that are written in 1.2 check out this site that list all rails tutorials for 2.0 or higher.
http://iybox.com/tutorials/show
Some reference can be found here:
- http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/243dc7cd6855af7f?fwc=1
- http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/138-script-generate-glitch-for-controllers-in-modules
Apparently the was a fix back in may but I got reverted. The 2.0.2 seems to be healthy and there is a workaround by commenting some option in a controller file. I’ll look into it for now.
very well
Whoaa… slow down!!!
Your cast is WAY too fast.
I love that you took the time to do this, but it is all but useless because you talk and work too quickly. Make sure you are talking about the same thing you are working on. Take your time. SLOW DOWN! And it will be excellent!
it is nice