Tutorial search
Tutorials
Stuff
Affiliates
Photoshop Templates
Featured Photoshop templates - professional ready to use designs for your next project.
View all templates
Creating Many Models in One Form - Ruby on Rails tutorial

Creating Many Models in One Form tutorial description
| Added on | 04.03.2008 |
| Total clicks | 134 |
| Tutorial Rating | 0 |
| Tutorial Difficulty | 0 |
Creating Many Models in One Form
More cool Ruby on Rails tutorials:

Are you accepting sensitive user data? Passwords, credit card numbers, etc. By default, Rails stores all submitted parameters in plain text in the logs. This episode will show you how to filter this sensitive input so it doesn't show up in the log file.

If you want create a dynamic web page that works on more than just MySQL then try Ruby DBI. Ruby DBI will help you create a single database interface for connecting your web application to multiple database types like MySQL, PostGreSQL and SQL Server. This article also explains some of the typical mistakes made when installing Ruby DBI.

So you're just about to crack on and dive into that code, but wait, you don't even need to do that! Rails comes with generators for basic functionality so you can get going as quickly as possible.

Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association.





