activerecord_snapshot_view 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.2
1
+ 0.9.3
@@ -9,6 +9,17 @@
9
9
  # switch table with a single row which names the currently live
10
10
  # version table in the database
11
11
 
12
+ # AssocationReflection caches table names... we have to undo this
13
+ class ActiveRecord::Reflection::AssociationReflection
14
+ def table_name
15
+ klass.table_name
16
+ end
17
+
18
+ def quoted_table_name
19
+ klass.quoted_table_name
20
+ end
21
+ end
22
+
12
23
  module ActiveRecord
13
24
  module SnapshotView
14
25
  def self.included(mod)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 2
9
- version: 0.9.2
8
+ - 3
9
+ version: 0.9.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - mccraig mccraig of the clan mccraig
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-11 00:00:00 +01:00
17
+ date: 2010-06-01 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency