1 |
module SchemaPlus::Compatibility |
1✔ |
2 |
module ActiveRecord |
1✔ |
3 |
module Migration |
1✔ |
4 |
module ClassMethods |
1✔ |
5 |
def latest_version |
1✔ |
6 |
begin
|
2✔ |
7 |
::ActiveRecord::Migration::Current |
2✔ |
8 |
rescue
|
|
9 |
self
|
× |
10 |
end
|
|
11 |
end
|
|
12 |
end
|
|
13 |
end
|
|
14 |
end
|
|
15 |
end
|