Project

erroneous

0.0
No commit activity in last 3 years
No release in over 3 years
Erroneous adds inline errors to Rails views in a simple, sentence like format.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

> 3.0.0
 Project Readme

Erroneous¶ ↑

Erroneous is a Ruby on Rails view helper that creates simple markup for inline errors.

Requirements¶ ↑

The gem is tested with:

  • Ruby on Rails 4.1.6

  • Ruby 2.1.6

  • Ruby 2.0.0

  • Ruby 1.9.3

  • JRuby

Installation¶ ↑

gem install erroneous

Examples¶ ↑

<%= errors @user, :name %>
<div class="errors">can't be blank</div>

<%= errors @user, :phone %>
<div class="errors">can't be blank and should look like a phone number</div>

<%= errors @user, :email %>
<div class="errors">can't be blank and should look like an email address</div>

Status¶ ↑

<img src=“https://travis-ci.org/ksylvest/erroneous.png” /> <img src=“https://codeclimate.com/badge.png”

Copyright © 2010 - 2013 Kevin Sylvestre. See LICENSE for details.