Rails for PHP Developers

http://derickrethans.nl/talks.php dr@ez.no We delete cookies in PHP by setting an expiry date. In Rails, we remove a cookie using the method to remove our chief ….

More PDF Content

We are quite familiar with writing SQL in PHP. While you are learning Rails, you may wonder how to query the database directly without using ActiveRecord objects. The short answer is that it’s possible but not a good idea. ActiveRecord uses callbacks hooks and validations to ensure that the data entering the database adheres to the rules assigned in our model classes. Accessing and querying the database directly will circumvent all the logic we’ve added to the model layer of our application.

Download Rails for PHP Developers pdf from media.pragprog.com, 16 pages, 396.7KB.
Related Books

One Response to “Rails for PHP Developers”

  1. rails developer london on June 5th, 2014 at 12:45 pm

    Have you ever considered about including a little
    bit more than just your articles? I mean, what you say is valuable and all.

    But think about if you added some great pictures or videos to give your posts more,
    “pop”! Your content is excellent but with pics and video clips, this website could
    definitely be one of the greatest in its field. Excellent blog!

Leave a Reply