Feed items

RSpec - Behaviour Driven Development testing framework

There are different type of testing like unit testing, integration testing, functional testing etc.. Lets we talk about unit testing by using different testing tools and framework.

In ruby on rails there are two different way for testing.

1. Behaviour Driven Development (BDD)

2. Test Driven Development (TDD)

Behavior Driven Development (BDD):

RSpec - Behaviour Driven Development testing framework

There are different type of testing like unit testing, integration testing, functional testing etc.. Lets we talk about unit testing by using different testing tools and framework.

In ruby on rails there are two different way for testing.

1. Behaviour Driven Development (BDD)

2. Test Driven Development (TDD)

Behavior Driven Development (BDD):

Ruby on Rails 2.3.4: Security Fixes

Ruby on Rails 2.3.4 released, this release fixes bugs and introduces a few minor features. Due to the inclusion of two security fixes, all users of the 2.3 series are recommended to upgrade as soon as possible.

Security Fixes

2.3.4 contains fixes for two security issues which were reported to us. For more details see the security announcements:

Ruby on Rails 2.3.4: Security Fixes

Ruby on Rails 2.3.4 released, this release fixes bugs and introduces a few minor features. Due to the inclusion of two security fixes, all users of the 2.3 series are recommended to upgrade as soon as possible.

Security Fixes

2.3.4 contains fixes for two security issues which were reported to us. For more details see the security announcements:

Browser CMS Developer's Guide

1. Introduction

This guide covers how to use the tools that come with BrowserCMS to extend the functionality of your BrowserCMS site. The target audience for this guide is intermediate to advanced Rails developers. You should also read the Building a Site with BrowserCMS guide first as well, so you know how to create pages and put content on pages. This guide will cover:

Browser CMS Developer's Guide

1. Introduction

This guide covers how to use the tools that come with BrowserCMS to extend the functionality of your BrowserCMS site. The target audience for this guide is intermediate to advanced Rails developers. You should also read the Building a Site with BrowserCMS guide first as well, so you know how to create pages and put content on pages. This guide will cover:

Browser CMS Basic Guide for Users

1. What to Expect

This guide covers how to use BrowserCMS to build and manage websites. After reading it, you should understand how to:

  • Create new pages

  • Organize your site navigation via the sitemap.

  • Place content on pages.

  • Dynamically display content on pages using portlets.

  • Create and assign permissions to users.

Browser CMS Basic Guide for Users

1. What to Expect

This guide covers how to use BrowserCMS to build and manage websites. After reading it, you should understand how to:

  • Create new pages

  • Organize your site navigation via the sitemap.

  • Place content on pages.

  • Dynamically display content on pages using portlets.

  • Create and assign permissions to users.

Solution to DoS vulnerability in Ruby

A denial of service (DoS) vulnerability was found on the BigDecimal standard library of Ruby. Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.

ActiveRecord relies on this method, so most Rails applications are affected by this. Though this is not a Rails-specific issue.

Impact

An attacker can cause a denial of service by causing BigDecimal to parse an insanely large number, such as:

Solution to DoS vulnerability in Ruby

A denial of service (DoS) vulnerability was found on the BigDecimal standard library of Ruby. Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.

ActiveRecord relies on this method, so most Rails applications are affected by this. Though this is not a Rails-specific issue.

Impact

An attacker can cause a denial of service by causing BigDecimal to parse an insanely large number, such as: