rails_sql_views 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,10 +7,16 @@ module ActiveRecord
7
7
  cattr_accessor :ignore_views
8
8
  @@ignore_views = []
9
9
 
10
+ def trailer_with_views(stream)
11
+ # do nothing...we'll call this later
12
+ end
13
+ alias_method_chain :trailer, :views
14
+
10
15
  # Add views to the end of the dump stream
11
16
  def dump_with_views(stream)
12
17
  dump_without_views(stream)
13
18
  views(stream)
19
+ trailer_without_views(stream)
14
20
  stream
15
21
  end
16
22
  alias_method_chain :dump, :views
@@ -1,7 +1,7 @@
1
1
  module RailsSqlViews
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 2
4
+ MINOR = 3
5
5
  TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rails_sql_views
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
6
+ version: 0.3.0
7
7
  date: 2006-12-28 00:00:00 -05:00
8
8
  summary: Adds SQL Views to Rails.
9
9
  require_paths: