Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Generator-alias: "v2", i.e. now ".script/generate v2" works too. =)

  • Loading branch information...
commit e3753556b1e5fbf3f89923f4d9fa66b5524e8492 1 parent f07895d
Jonas Grimfelt authored October 31, 2009
2  README.textile
Source Rendered
@@ -93,7 +93,7 @@ $ ./script/generate validatious
93 93
       create  public/javascripts/v2.rails.js
94 94
 </pre>
95 95
 
96  
-*Important:* It is very impostant that you do this (update these scripts) on each new gem release; especially @v2.Rails@ will be a subject for change because this library contains kind of low level helpers to get Validatious and additional features such as AJAX validations to play. I'm not sure what might be added/removed in the future, but as long as you keep these updated you probably won't notice any difference.
  96
+*Important:* It is very impostant that you do this (update these scripts) on each new gem release; especially @v2.rails@ will be a subject for change because this library contains kind of low level helpers to get Validatious and additional features such as AJAX validations to play. I'm not sure what might be added/removed in the future, but as long as you keep these updated you probably won't notice any difference.
97 97
 
98 98
 h3. 2. Include the javascripts in your layout
99 99
 
5  generators/validatious/v2_generator.rb
... ...
@@ -0,0 +1,5 @@
  1
+# encoding: utf-8
  2
+
  3
+require File.join(File.dirname(__FILE__), 'validatious_generator')
  4
+
  5
+class V2Generator < ValidatiousGenerator; end

0 notes on commit e375355

Please sign in to comment.
Something went wrong with that request. Please try again.