rerails 2.3.5.2 → 2.3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +7 -0
- data/README.rdoc +8 -4
- data/lib/reaction_view/html5_forms.rb +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -7,17 +7,20 @@ Reinforcing the Rails with assorted patches.
|
|
7
7
|
|
8
8
|
=== ReactionView
|
9
9
|
|
10
|
-
*
|
10
|
+
* Label tag helpers accept blocks
|
11
|
+
({Rails Lighthouse ticket}[https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3645-let-label-helpers-accept-blocks]).
|
11
12
|
|
12
13
|
<% label_tag do %>
|
13
14
|
<%= check_box_tag "tos" %> Accept <%= link_to "Terms", "/tos" %>.
|
14
15
|
<% end %>
|
15
16
|
|
16
17
|
|
17
|
-
|
18
|
+
|
19
|
+
* HTML5 form helpers
|
20
|
+
({Rails Lighthouse ticket}[https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3646-html5-form-field-helpers-email_field_tag-etc]).
|
18
21
|
|
19
22
|
<% form_tag "user_search" do %>
|
20
|
-
<%= search_field_tag "
|
23
|
+
<%= search_field_tag "q", nil, :autosave => true %>
|
21
24
|
<% end %>
|
22
25
|
|
23
26
|
<% form_for @user do |f| %>
|
@@ -31,7 +34,8 @@ Reinforcing the Rails with assorted patches.
|
|
31
34
|
|
32
35
|
* <tt>Array#first</tt> and <tt>Array#last</tt> functionality and
|
33
36
|
optimizations for <tt>ActiveRecord::Base</tt>, association collections, and
|
34
|
-
named scopes
|
37
|
+
named scopes
|
38
|
+
({Rails Lighthouse ticket}[https://rails.lighthouseapp.com/projects/8994/tickets/3565-add-limit-functionality-to-find-first-and-last]).
|
35
39
|
|
36
40
|
AngryMan.first(2) # => [#<AngryMan id: 1>, #<AngryMan id: 2>]
|
37
41
|
AngryMan.last(2) # => [#<AngryMan id: 11>, #<AngryMan id: 12>]
|
@@ -135,7 +135,7 @@ module ActionView #:nodoc:
|
|
135
135
|
|
136
136
|
def range_field(object_name, method, options = {})
|
137
137
|
options = options.stringify_keys
|
138
|
-
options["type"] ||= "
|
138
|
+
options["type"] ||= "range"
|
139
139
|
if range = options.delete("in") || options.delete("within")
|
140
140
|
options.update("min" => range.min, "max" => range.max)
|
141
141
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rerails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.5.
|
4
|
+
version: 2.3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Celis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-15 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version:
|
65
65
|
requirements: []
|
66
66
|
|
67
|
-
rubyforge_project:
|
67
|
+
rubyforge_project:
|
68
68
|
rubygems_version: 1.3.5
|
69
69
|
signing_key:
|
70
70
|
specification_version: 3
|