Bookbot

Colleen Toporek

    Pragmatic Bookshelf: Security on Rails
    Rails Test Prescriptions
    • Rails Test Prescriptions

      • 350 Seiten
      • 13 Lesestunden

      This comprehensive guide to testing Rails applications delves into Test-Driven Development (TDD) from both theoretical and practical perspectives. It addresses core Rails testing tools and procedures for Rails 2 and 3, while also introducing popular add-ons like Cucumber, Shoulda, Machinist, Mocha, and Rcov. If your Ruby on Rails application is plagued by bugs and unclear code, TDD can help. This proven process emphasizes writing tests first, leading to improved design, maintainability, and faster development of better code. Rails offers exceptional support for TDD, complemented by a vibrant community that continually develops new testing tools. The guide features practical code examples alongside discussions on the efficacy of testing. It begins with the essential features of core Ruby on Rails and progresses to third-party testing tools such as RSpec, Shoulda, Cucumber, Factory Girl, and Rcov, explaining their usage and appropriate contexts. Covering both Rails 2.3.x and the initial 3.0 release, this resource is invaluable for Rails programmers who test their code. For those who don’t yet test, it serves as a crucial starting point to integrate testing into their development practices.

      Rails Test Prescriptions2010
    • The advantage of using Rails is its agility; it makes developing your web applications easy and fast. The disadvantage is that it can leave holes in your security if you are not aware of common vulnerabilities. It's a nerve-wracking and unfortunate fact that there are plenty of malicious people lurking on the Web. As a Rails developer, it is essential that you understand how to assess risk and protect your data and your users.Security on Rails uses established security principles to teach you how to write more secure software, defend your applications from common threats, and encrypt your data. We'll give you an example of a hacking exploit, and explore how to fix the weaknesses in an application.You'll learn the steps you need to take to control access to information and authenticate users, including cryptography concepts and authorization. In addition, you'll see how to integrate your applications with external management systems; in short, the crucial details you must consider to protect yourself and your data.The most important element of security is to plan for it before it becomes an issue. Security on Rails helps beginner and intermediate developers to take control of their applications and guard against attacks.

      Pragmatic Bookshelf: Security on Rails2009