rerails 2.3.5.2 → 2.3.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ === 2.3.5.3 / 2010-01-15
2
+
3
+ * 1 bugfix
4
+
5
+ * Form helper range field should be of type range.
6
+
7
+
1
8
  === 2.3.5.2 / 2010-01-02
2
9
 
3
10
  * 1 major enhancement
data/README.rdoc CHANGED
@@ -7,17 +7,20 @@ Reinforcing the Rails with assorted patches.
7
7
 
8
8
  === ReactionView
9
9
 
10
- * Label tag helpers accept blocks.
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
- * HTML5 form helpers.
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 "user_search", nil, :autosave => true %>
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"] ||= "number"
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.2
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-02 00:00:00 -06:00
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: rerails
67
+ rubyforge_project:
68
68
  rubygems_version: 1.3.5
69
69
  signing_key:
70
70
  specification_version: 3