Railscasts
Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to ...
Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This episode will show you how to open up an existing class and change its behavior.
Show all Visit Show Website http://www.railscasts.comRecently Aired
-
HD
#16 Virtual Attributes
Keep your controllers clean and forms flexible by adding virtual ...
Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form f...
-
HD
#15 Fun with Find Conditions
You can pass more than simple strings to find conditions. ...
You can pass more than simple strings to find conditions. Arrays, ranges, and nil values can be passed as well. In this episode you will see the tr...
-
HD
#14 Performing Calculations on Models
Did you know ActiveRecord provides class methods for performing calculations ...
Did you know ActiveRecord provides class methods for performing calculations on models? You can even use these methods through associations.
-
HD
#13 Dangers of Model in Session
Be careful when storing a model in a session. It ...
Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead ...
-
HD
#12 Refactoring User Name Part 3
In the final part of this series you will see ...
In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to d...
-
HD
#11 Refactoring User Name Part 2
Testing and refactoring go hand in hand. Refactoring is all ...
Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure yo...
-
HD
#10 Refactoring User Name Part 1
Learn how to clean up your code through refactoring. This ...
Learn how to clean up your code through refactoring. This episode will show you how to move code from the view into the model to remove duplication...
-
HD
#9 Filtering Sensitive Logs
Are you accepting sensitive user data? Passwords, credit card numbers, ...
Are you accepting sensitive user data? Passwords, credit card numbers, etc. By default, Rails stores all submitted parameters in plain text in the ...
-
HD
#8 Layouts and content_for
If you want to change something in the layout on ...
If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that ...
-
HD
#7 All About Layouts
Everything you wanted to know about layouts: global layouts, controller ...
Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there rea...