fastaccess 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/README.md +61 -1
- data/lib/fastaccess/acts_with_fastaccess_on.rb +1 -3
- data/lib/fastaccess/fastaccess.rb +30 -1
- data/lib/fastaccess/version.rb +1 -1
- data/test/dummy/app/models/simple_string.rb +15 -0
- data/test/dummy/log/development.log +1 -0
- data/test/dummy/log/test.log +781 -0
- data/test/fastaccess_test.rb +20 -2
- metadata +10 -10
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -12,7 +12,7 @@ html.
|
|
12
12
|
|
13
13
|
And this is why fastaccess exists.
|
14
14
|
It modifies any given method, which generates content,
|
15
|
-
and stores it in a [redis][
|
15
|
+
and stores it in a [redis][redis] database.
|
16
16
|
If this content solely depends on a model attribute,
|
17
17
|
for example like the *body* in a blog post, it will
|
18
18
|
be auto updated, if the underlying model attribute
|
@@ -98,6 +98,57 @@ can also call
|
|
98
98
|
Fastaccess::Fastaccess.update_content @post, :on => :tag_list, :arguments => []
|
99
99
|
```
|
100
100
|
|
101
|
+
## Configuring Fastaccess
|
102
|
+
|
103
|
+
### Initializers
|
104
|
+
|
105
|
+
Fastaccess comes with a generator for an initializer file. You can
|
106
|
+
run it by calling:
|
107
|
+
|
108
|
+
```
|
109
|
+
rails generate fastaccess:initialize
|
110
|
+
```
|
111
|
+
|
112
|
+
This will create `config/initializers/fastaccess.rb`, which allows you to
|
113
|
+
set the redis-connector instance, which will be used to communicate
|
114
|
+
with redis. If you've just installed redis and are running
|
115
|
+
it with default settings, the defaults from the initializer file
|
116
|
+
should work nicely.
|
117
|
+
|
118
|
+
### Configure acts_with...
|
119
|
+
|
120
|
+
#### deactivating auto_update
|
121
|
+
|
122
|
+
If you need to call `update_content` manually (either via the mixin
|
123
|
+
version or the global one), you probably don't want the unnecessary
|
124
|
+
updates, which are being triggered by every update on the pertaining
|
125
|
+
record (and the subsequent method-call). You can deactivate it
|
126
|
+
for specific method, by passing it via the options hash.
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
acts_with_fastaccess_on :markdown, :auto_update => false
|
130
|
+
```
|
131
|
+
|
132
|
+
#### using multiple generated versions
|
133
|
+
|
134
|
+
Since the methods you will use fastaccess on, will usually generate
|
135
|
+
content, it might be possible, that you want to use multiple
|
136
|
+
versions of this content frequently without resorting
|
137
|
+
to another method. You can achieve this by setting argument-groups,
|
138
|
+
which is an array in which each element (an argument group) refers to
|
139
|
+
the arguments passed to the method in this version:
|
140
|
+
|
141
|
+
```ruby
|
142
|
+
acts_with_fastaccess_on :markdown_with_opts, :versions => [
|
143
|
+
{prevent_html:true},
|
144
|
+
{prevent_html:false}
|
145
|
+
]
|
146
|
+
```
|
147
|
+
|
148
|
+
This will allow fastaccess to store both versions in the redis
|
149
|
+
database.
|
150
|
+
|
151
|
+
|
101
152
|
## Features
|
102
153
|
|
103
154
|
### planned features
|
@@ -105,6 +156,14 @@ Fastaccess::Fastaccess.update_content @post, :on => :tag_list, :arguments => []
|
|
105
156
|
- ~~disable auto-update via option setting (planned for *0.0.2*)~~ *implemented*
|
106
157
|
- more update flexibility
|
107
158
|
- e.g. custom update-constraints instead of calling `update_content` manually
|
159
|
+
- ~~**version**~~
|
160
|
+
~~sometimes parameters passed to the watched method aren't arbitrary,
|
161
|
+
but contain some sort of state. So some output-*versions* of the
|
162
|
+
generated content are used, with evenly distributed odds.
|
163
|
+
Fastaccess should allow for these versions to exist in memory.
|
164
|
+
This means, that certain *sets of arguments* are bundling
|
165
|
+
a so called version, which should be accessible via redis for
|
166
|
+
more flexibility.~~ *implemented*
|
108
167
|
|
109
168
|
## License
|
110
169
|
|
@@ -134,4 +193,5 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
134
193
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
135
194
|
|
136
195
|
[mit]: http://opensource.org/licenses/MIT
|
196
|
+
[redis]: http://redis.io/
|
137
197
|
[1]: http://rightsrestricted.com
|
@@ -17,7 +17,6 @@ module Fastaccess
|
|
17
17
|
# currently has no effect on execution.
|
18
18
|
def acts_with_fastaccess_on(method_name, options = {})
|
19
19
|
Fastaccess.register_on self, method_name, options
|
20
|
-
# options = Fastaccess.merge_defaults(options)
|
21
20
|
define_singleton_method :method_added do |on_method|
|
22
21
|
if Fastaccess.registered? self, on_method
|
23
22
|
method = on_method
|
@@ -25,8 +24,7 @@ module Fastaccess
|
|
25
24
|
if !method_defined?(alias_name)
|
26
25
|
alias_method alias_name, method
|
27
26
|
define_method method do |*args|
|
28
|
-
|
29
|
-
redis_id = "#{method}_#{fastaccess_id}"
|
27
|
+
redis_id = Fastaccess.redis_id_for(self, method, args)
|
30
28
|
opts = Fastaccess.options_for(self, method)
|
31
29
|
content_current = opts[:auto_update] ? Fastaccess.update_check(self) : true
|
32
30
|
if Fastaccess.redis.exists(redis_id) && content_current
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'set'
|
2
|
+
require 'digest/sha2'
|
2
3
|
|
3
4
|
module Fastaccess
|
4
5
|
# This class contains the most
|
@@ -10,7 +11,8 @@ module Fastaccess
|
|
10
11
|
# the default options for the
|
11
12
|
# acts_with_fastaccess_on method.
|
12
13
|
ACTS_OPTIONS_DEFAULTS = {
|
13
|
-
:auto_update => true
|
14
|
+
:auto_update => true,
|
15
|
+
:versions => [],
|
14
16
|
}
|
15
17
|
|
16
18
|
@@fastaccess_on = Hash.new Set.new
|
@@ -199,6 +201,33 @@ module Fastaccess
|
|
199
201
|
ACTS_OPTIONS_DEFAULTS.merge(options)
|
200
202
|
end
|
201
203
|
|
204
|
+
# returns the id used by fastaccess for
|
205
|
+
# the storage of content in the redis database
|
206
|
+
# @param [Object] class_instance instance of a registered class
|
207
|
+
# @param [Symbol] method is a symbol denoting the called method
|
208
|
+
# @param [Array] args arguments supplied to the method on the call
|
209
|
+
def self.redis_id_for(class_instance, method, args=[])
|
210
|
+
opts = self.options_for(class_instance.class, method)
|
211
|
+
fastaccess_id = self.id_for(class_instance)
|
212
|
+
base_id = "#{method}_#{fastaccess_id}"
|
213
|
+
return base_id if opts[:versions].empty?
|
214
|
+
opts[:versions].each do |version|
|
215
|
+
if self.match_version(version, args)
|
216
|
+
sha = Digest::SHA2.new << version.inspect
|
217
|
+
return "#{base_id}:#{sha}"
|
218
|
+
end
|
219
|
+
end
|
220
|
+
base_id
|
221
|
+
end
|
222
|
+
|
223
|
+
private
|
224
|
+
# tries to match a version
|
225
|
+
# against given arguments
|
226
|
+
def self.match_version(version, args)
|
227
|
+
arr_version = version.is_a?(Array) ? version : [version]
|
228
|
+
arr_version == args
|
229
|
+
end
|
230
|
+
|
202
231
|
end
|
203
232
|
|
204
233
|
end
|
data/lib/fastaccess/version.rb
CHANGED
@@ -7,6 +7,8 @@ class SimpleString < ActiveRecord::Base
|
|
7
7
|
acts_with_fastaccess_on :modifiable_string
|
8
8
|
acts_with_fastaccess_on :changeable_string
|
9
9
|
acts_with_fastaccess_on :non_autoupdateable_string, :auto_update => false
|
10
|
+
acts_with_fastaccess_on :versioned_string, :auto_update => false, :versions => [:and, :or]
|
11
|
+
acts_with_fastaccess_on :complex_vers_string, :auto_update => false, :versions => [[:and, 1, "foo"], [:or, 5, "bar"]]
|
10
12
|
include Fastaccess::Mixins
|
11
13
|
|
12
14
|
attr_accessible :some_string
|
@@ -39,4 +41,17 @@ class SimpleString < ActiveRecord::Base
|
|
39
41
|
return "text is something"
|
40
42
|
end
|
41
43
|
|
44
|
+
def versioned_string(symbol)
|
45
|
+
case symbol
|
46
|
+
when :and
|
47
|
+
"simple is easy AND easy is fun"
|
48
|
+
when :or
|
49
|
+
"complicated isn't nice or isnt good"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def complex_vers_string(*args)
|
54
|
+
string = "if you use #{args[0]}(#{args[1]},0), you'll get: #{args[2]}"
|
55
|
+
end
|
56
|
+
|
42
57
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -1573,3 +1573,784 @@ Connecting to database specified by database.yml
|
|
1573
1573
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1574
1574
|
[1m[35m (0.1ms)[0m begin transaction
|
1575
1575
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1576
|
+
Connecting to database specified by database.yml
|
1577
|
+
[1m[36m (6.6ms)[0m [1mbegin transaction[0m
|
1578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1579
|
+
[1m[36mSQL (11.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1581
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1582
|
+
[1m[35m (0.5ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-05 21:13:35.395399' WHERE "simple_strings"."id" = 1
|
1583
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1584
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1586
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1587
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1590
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-05 21:13:35.410816' WHERE "simple_strings"."id" = 1
|
1591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1592
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1595
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1596
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1597
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1598
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1600
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1601
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1602
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1605
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1607
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1609
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1610
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1611
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1612
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1615
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1616
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1617
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1619
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1620
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1621
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1622
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1625
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00], ["some_string", nil], ["updated_at", Tue, 05 Feb 2013 21:13:35 UTC +00:00]]
|
1626
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1627
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1629
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1630
|
+
Connecting to database specified by database.yml
|
1631
|
+
[1m[36m (13.2ms)[0m [1mbegin transaction[0m
|
1632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1633
|
+
[1m[36mSQL (11.2ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1636
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-06 22:50:45.395452' WHERE "simple_strings"."id" = 1
|
1637
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1638
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1639
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1640
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1641
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1642
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1643
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1645
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1646
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1649
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-06 22:50:45.427064' WHERE "simple_strings"."id" = 1[0m
|
1650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1651
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1654
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1656
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1659
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1660
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1661
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1664
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1666
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1667
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1668
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1669
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1670
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1671
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1673
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1674
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1676
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1678
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1679
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1681
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1682
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1683
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1684
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00], ["some_string", nil], ["updated_at", Wed, 06 Feb 2013 22:50:45 UTC +00:00]]
|
1685
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1686
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1688
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1689
|
+
Connecting to database specified by database.yml
|
1690
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1692
|
+
[1m[36mSQL (11.9ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1693
|
+
[1m[35m (0.9ms)[0m RELEASE SAVEPOINT active_record_1
|
1694
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1697
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1699
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1701
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1702
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1704
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1707
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1708
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1709
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1711
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1712
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1714
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1717
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1719
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1722
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1724
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1725
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1726
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1727
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1728
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1729
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1732
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1733
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1734
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1737
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:47:47 UTC +00:00]]
|
1738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1739
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1741
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1742
|
+
Connecting to database specified by database.yml
|
1743
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1745
|
+
[1m[36mSQL (4.9ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1746
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1747
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1748
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:50:47.368031' WHERE "simple_strings"."id" = 1
|
1749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1750
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
1751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1753
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1754
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1755
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1757
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1758
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1759
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1760
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1761
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:50:47.380968' WHERE "simple_strings"."id" = 1[0m
|
1762
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1763
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1764
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1765
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1766
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1767
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1768
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1771
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1773
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1775
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1776
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1777
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1778
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1779
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1781
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1783
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1784
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1786
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1787
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1788
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1791
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1792
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1793
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:50:47 UTC +00:00]]
|
1797
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1798
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1800
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1801
|
+
Connecting to database specified by database.yml
|
1802
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1804
|
+
[1m[36mSQL (5.2ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1805
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1807
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:52:31.920135' WHERE "simple_strings"."id" = 1
|
1808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1809
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
1810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1812
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1813
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1814
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1815
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1817
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1820
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:52:31.931746' WHERE "simple_strings"."id" = 1[0m
|
1821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1822
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1824
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1825
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1826
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1827
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1830
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1831
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1832
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1833
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1834
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1835
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1836
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1837
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1838
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1840
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1841
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1842
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1844
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1845
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1846
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1847
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1849
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1850
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1852
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1855
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:52:31 UTC +00:00]]
|
1856
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1857
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1859
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1860
|
+
Connecting to database specified by database.yml
|
1861
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1863
|
+
[1m[36mSQL (4.9ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:12 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:12 UTC +00:00]]
|
1864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1866
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:53:12.991900' WHERE "simple_strings"."id" = 1
|
1867
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1868
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
1869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1870
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1871
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:12 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:12 UTC +00:00]]
|
1872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1873
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1875
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1876
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1879
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:53:13.005082' WHERE "simple_strings"."id" = 1[0m
|
1880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1881
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1883
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1884
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1886
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1889
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1890
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1891
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1893
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1894
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1895
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1896
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1897
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1898
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1899
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1900
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1901
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1902
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1904
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1906
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1909
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1911
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1913
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1914
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:13 UTC +00:00]]
|
1915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1916
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1919
|
+
Connecting to database specified by database.yml
|
1920
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1922
|
+
[1m[36mSQL (5.1ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1923
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1925
|
+
[1m[35m (0.5ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:53:27.310888' WHERE "simple_strings"."id" = 1
|
1926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1927
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
1928
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1929
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1930
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1931
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1932
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1935
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1936
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1937
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1938
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-07 19:53:27.323754' WHERE "simple_strings"."id" = 1[0m
|
1939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1940
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1941
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1942
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1943
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1944
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1945
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1946
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1948
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1950
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1953
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1955
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1958
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1960
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1961
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1963
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1964
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1965
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1966
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1968
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1970
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1971
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1973
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00], ["some_string", nil], ["updated_at", Thu, 07 Feb 2013 19:53:27 UTC +00:00]]
|
1974
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1975
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1978
|
+
Connecting to database specified by database.yml
|
1979
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1980
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1981
|
+
[1m[36mSQL (6.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
1982
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1983
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1984
|
+
[1m[35m (0.5ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:03:37.715292' WHERE "simple_strings"."id" = 1
|
1985
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1986
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1989
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
1990
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1991
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1992
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1994
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
1995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1997
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:03:37.727601' WHERE "simple_strings"."id" = 1[0m
|
1998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1999
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2001
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2002
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2003
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2004
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2007
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2008
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2009
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2011
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2012
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2013
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2014
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2017
|
+
[1m[36mSQL (25.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2018
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2019
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2021
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2022
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2023
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2024
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2027
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2029
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2032
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:03:37 UTC +00:00]]
|
2033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2034
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2036
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2037
|
+
Connecting to database specified by database.yml
|
2038
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2039
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2040
|
+
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2041
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2042
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2043
|
+
[1m[35m (0.6ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:17:35.707711' WHERE "simple_strings"."id" = 1
|
2044
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2045
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
2046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2048
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2050
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2051
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2053
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2055
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2058
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2060
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2061
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:17:35.723957' WHERE "simple_strings"."id" = 1
|
2062
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2063
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2065
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2066
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2067
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2068
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2071
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2073
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2076
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2078
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2081
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2083
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2086
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2088
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2089
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2090
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2091
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2093
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2096
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:17:35 UTC +00:00]]
|
2097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2098
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2100
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2101
|
+
Connecting to database specified by database.yml
|
2102
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2103
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2104
|
+
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2105
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2106
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2107
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:18:14.446143' WHERE "simple_strings"."id" = 1
|
2108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2109
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
2110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2112
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2114
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2117
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2118
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2119
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2122
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2125
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:18:14.461447' WHERE "simple_strings"."id" = 1
|
2126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2127
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2130
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2131
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2132
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2135
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2137
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2138
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2140
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2142
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2144
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2145
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2146
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2147
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2150
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2152
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2155
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2156
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2157
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:14 UTC +00:00]]
|
2161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2162
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2164
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2165
|
+
Connecting to database specified by database.yml
|
2166
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2168
|
+
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2171
|
+
[1m[35m (0.4ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:18:53.142009' WHERE "simple_strings"."id" = 1
|
2172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2173
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
2174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2176
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2178
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2181
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2183
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2186
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2189
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:18:53.156499' WHERE "simple_strings"."id" = 1
|
2190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2191
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2194
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2196
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2198
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2199
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2200
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2201
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2204
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2205
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2206
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2209
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2211
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2214
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2216
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2219
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2221
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2223
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2224
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:18:53 UTC +00:00]]
|
2225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2226
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2228
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2229
|
+
Connecting to database specified by database.yml
|
2230
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2232
|
+
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2233
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2234
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2235
|
+
[1m[35m (0.5ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:25:02.656793' WHERE "simple_strings"."id" = 1
|
2236
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2237
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
2238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2239
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2240
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2242
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2245
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2247
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2248
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2250
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2251
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2253
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 15:25:02.673797' WHERE "simple_strings"."id" = 1
|
2254
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2255
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2258
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2259
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2260
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2263
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2265
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2268
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2270
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2273
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2275
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2277
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2278
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2280
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2283
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2285
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 15:25:02 UTC +00:00]]
|
2289
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2290
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2291
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2292
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2293
|
+
Connecting to database specified by database.yml
|
2294
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2296
|
+
[1m[36mSQL (8.8ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2297
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2298
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2299
|
+
[1m[35m (0.5ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 19:31:14.770520' WHERE "simple_strings"."id" = 1
|
2300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2301
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2304
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2306
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2309
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2311
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2314
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2316
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2317
|
+
[1m[35m (0.3ms)[0m UPDATE "simple_strings" SET "some_string" = 'foobar', "updated_at" = '2013-02-16 19:31:14.787539' WHERE "simple_strings"."id" = 1
|
2318
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2319
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2322
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2323
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2324
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2327
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2329
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2332
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2334
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2336
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2337
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2338
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2339
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2342
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2344
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2347
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2349
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_strings" ("created_at", "some_string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00], ["some_string", nil], ["updated_at", Sat, 16 Feb 2013 19:31:14 UTC +00:00]]
|
2353
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2354
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2356
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
data/test/fastaccess_test.rb
CHANGED
@@ -69,8 +69,26 @@ class FastaccessTest < ActiveSupport::TestCase
|
|
69
69
|
string.save
|
70
70
|
assert_equal default, string.non_autoupdateable_string
|
71
71
|
assert( ! string.non_autoupdateable_string.include?(test_string) )
|
72
|
-
|
73
|
-
|
72
|
+
end
|
73
|
+
|
74
|
+
def test_basic_versioning_functionality
|
75
|
+
string = SimpleString.create
|
76
|
+
version_one = :and
|
77
|
+
version_two = :or
|
78
|
+
assert_not_equal string.versioned_string(:and), string.versioned_string(:or)
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_complex_versioning_functionality
|
82
|
+
string = SimpleString.create
|
83
|
+
version_one = [:and, 1, "foo"]
|
84
|
+
version_two = [:or, 5, "bar"]
|
85
|
+
generated_one = string.complex_vers_string(*version_one)
|
86
|
+
generated_two = string.complex_vers_string(*version_two)
|
87
|
+
assert_equal generated_one, string.complex_vers_string(*version_one)
|
88
|
+
assert_equal generated_two, string.complex_vers_string(*version_two)
|
89
|
+
assert_not_equal generated_one, generated_two
|
90
|
+
assert generated_one.end_with?(version_one.last)
|
91
|
+
assert generated_two.end_with?(version_two.last)
|
74
92
|
end
|
75
93
|
|
76
94
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastaccess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70219308571800 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2
|
21
|
+
version: '3.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70219308571800
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: redis
|
27
|
-
requirement: &
|
27
|
+
requirement: &70219308571300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.0
|
32
|
+
version: '3.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70219308571300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &70219308570920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70219308570920
|
47
47
|
description: rails model-helper to store generated content in redis, for fastaccess
|
48
48
|
email:
|
49
49
|
- robustus@rightsrestricted.com
|