#100 5 View Tips
Apr 07, 2008 | 9 minutes |
Views
Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest!
- Download:
- mp4Full Size H.264 Video (16.4 MB)
- m4vSmaller H.264 Video (10.4 MB)
- webmFull Size VP8 Video (27.6 MB)
- ogvFull Size Theora Video (22.4 MB)
Congratulations!!!
Another concise and fun episode !!! Looking forward to your next 100 episodes. Thank you from Korea.
Congratulations!!!
Happy 100th anniversary !!!
thank you so much for doing this :)
Cheers from Switzerland
Thanks a lot. You helped me much to learn RoR and to be productive with it..
Greetings from Germany
Congratulations Ryan! You really do some great work here. That contest is sick man, great move. I think its a great way to get people involved in the community. Keep em coming!
5 tips that really help in daily work!
Hi Ryan,
What do you use to create your screencasts and especially what software displays the keyboard shortcuts? It doesn't look like mouseposé.
Congratulations!!
Great work Ryan!!!
Congratulations on 100 great tutorials. A really asset for the Rails community.
100 episodes, time to break out the champagne! Congrats Ryan and thanks a ton for cleaning up my code ;)
I have been a fan of your screencasts for almost a year now ... congratulations on the 100th episode
Regards
Prateek Dayal
You have a very nice collection of screencasts now, Ryan. I recommend them often, and I really like the short focused format.
Congratulations on episode 100!
Thanks a ton for all of your help and hard work in contributing to the Ruby and Rails communities. These screencasts are truly a blessing!
Great stuff Ryan. Congrats on the 100 episodes. Thanks again!
Great job bro and congratulations on your 100 episodes! I know you've worked really hard at it and it shows.
Your Proud Sister,
Sarah
Congrats...
and i like the new sound at the end of your intro... hope you didn't kill a mouse for this? ;-)
Thank you for all the great tutorials. This is a fantastic site!
Hello, there Ryan!
I've been doing a GREAT work, and I'm pretty sure that almost every Rails developer out there has learned something from at least one of your videos.
They make big difference when facing common problems we all have during work, and releasing the 100th just proves that people like your tips and that they are important to many.
Keep up the good job, and most importantly THANK YOU!
I have to second nicolash's comment. And here I was thinking you forgot our request. I just about burst out laughing when I heard the sound! Great contest BTW, I will have to see what I can come up with for an entry.
Congrats on your 100th episode. I've watched them since day one and learned a lot of stuff from it. These screencasts are definitely one of the best sources for any rails programmer.
Btw, ROFL about the intro sound. Will you keep it in future episodes? :-D
Congratulations man, great work.
You are one of those guys who makes the whole open source-ness of Ruby/Rails so successful as a community. Big thanks and keep it up!
"Congratulations! " * 100
"Thank You! " * 1.0e6
Thanks for 100 great screencasts, Ryan!
Here's to another hundred! :)
Congratulation for your 100th screencast :)
Congratulation!
Thanks again!
Congratulations!!
You are a good presenter and an excellent teacher. I watched each of the episodes from day one and learnt a lot. Keep up the good work.
Thank you very much.
The 100 most useful rails screencasts. Thank you!
Greetings from Spain.
Congrats!
You make me a better programmer, and you definitely make the monday morning a great morning.
Up to the next 100!
Thanks and CONGRATULATIONS for your's 100 episodes. Keep the great work. You're really good on it and very easy to understand.
Ryan, seriously, you rock!
Concratulations for hitting the 100.
Keep on the good work, you helped me and others way more than any other rails resource (except the api of course ;) )
Greetings from Germany,
Pascal
Ryan, This really is a great achievment and an amazing contribution from you to this fantastic community, Thanks and Well Done!
Didn't watch the screencast, only checked out the text examples, so you might have covered this:
Another way to deal with optional locals is to use <code>local_assigns[:the_local]</code> in the partial. Will be <code>nil</code> if not assigned.
I cannot get tip #1 to work. I still have those pesky newline characters. Is it available in Rails edge only?
@Paul, did you add the minus sign on both tags? <%- ... -%> for example?
@Carl, sure:
<%- 3.times do -%>
<p>test</p>
<%- end -%>
results in:
<p>test</p>
<p>test</p>
<p>test</p>
I have no idea why...
Uhm, now not encoded:
<%- 3.times do -%>
<p>test</p>
<%- end -%>
results in:
<p>test</p>
<p>test</p>
<p>test</p>
Awesome work, Ryan! I'll be here waiting for every one of the next 100!!
Thank you Ryan for your screencasts - I look forward to them each week. I have certainly learnt a lot from your tutorials.
I there any reason I can't get them onto my iPhone? I subscribed using iTunes, but I still can't get them onto the iPhone.
Congratulations!!!
Great work!!!
Thank you from Brazil
Thank you.
Keep on going!!
Greetings from Austria
re: Optional Locals
I prefer to handle optional locals in the partial itself. I like how it keeps the relevant pieces together in one file.
Add code like this to the top of your partial:
<% if local_assigns[:local_value_name].nil? then local_value_name=default_value end %>
Thanks for all the great episodes.
Greetings and congrats from Portland!
I've been an employed rails developer for 6 months now and railscasts have been the most helpful and reliable resource I've come across.
Thanks Ryan!
Well done Ryan, fantastic job on your 100th Screen cast.
Here is my first tip :)
http://lindsaar.net/ruby-on-rails-tips/
Regards
Mikel
Thanks for the great content on this website. I have learnt a lot from it!
Congratulations from Germany!
Love your podcast, they're very professional and also have a friendly touch. Keep up the good work, you sure are one of the Ruby Heroes! :)
See ya around, Dennis
Congratulations from Thailand!
Happy 100th podcast!!!
Thanks a lot for those Great Podcasts,
They are Truly AWESOME.
congratulations from italy and thanks for your screencasts
Hi,
Just a quick question, do we get a confirmation reply wen we submit our 5 tips to contest@railscasts.com? Just to make sure you really got the mail :) My mail sometimes get stuck in the spam folder :(
Thx
Thank you everyone for your encouraging comments!
@Thomas, I'm using KeyCastr.
http://stephendeken.net/wiki/software/keycastr/
@DJ, there's two feeds, make sure you're using the iPod feed if you want it to play on the iPhone. :)
@Benjamin, great suggestion. I'll reply to each contest submission to confirm I received it.
Congrats on 100 Ryan! Thanks for so many fantastic videos.
Congrats from me too. 100 screen casts and I watched almost every single one of them! Thanks a lot! Keep up the good work!
Hey!! Frederico de Souza I Pablo from Chile look for you and find you, I believe.
Someone know his your mail to contact it, he was a great friend.
my mail is: ramzeone@hotmail.com
THANKS!!
Nice tutorial. This has probably saved me a few hours of searching. Thanks!
Hot episodes!
Congratulations and thanks for all the great episodes guys
best regards
Tip #5 (default value for locals)
An easier way is to do something like this in your partial:
show_price = false if !defined?(show_price)
Thanks! In my case I did something similar to the following:
locals: { show_price: defined?(show_price) ? show_price : false }
Thanks for the great shows!
Great job!
Hello :) bye
hi