inline_forms 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -158,6 +158,7 @@ class InlineFormsController < ApplicationController
158
158
  send("#{@form_element.to_s}_update", @object, @attribute)
159
159
  @object.save
160
160
  respond_to do |format|
161
+ debugger
161
162
  format.js { }
162
163
  end
163
164
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
- class IsACuracaoIdNumberValidator < InlineFormsValidator
2
+ class IsACuracaoIdNumberValidator < ActiveModel::EachValidator
3
3
 
4
4
  def validate_each(record, attribute, value)
5
5
  if value =~ /^[0-9]{10}$/
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.4.5"
3
+ VERSION = "1.4.6"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-24 00:00:00.000000000 Z
12
+ date: 2012-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rvm