copycat 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,9 +13,9 @@ class CopycatTranslationsController < ActionController::Base
13
13
  if params[:search].blank?
14
14
  @copycat_translations = query.all
15
15
  else
16
- key_like = CopycatTranslation.where_like(:key, params[:search])
17
- value_like = CopycatTranslation.where_like(:value, params[:search])
18
- @copycat_translations = query.where("#{key_like} OR #{value_like}")
16
+ key_like = CopycatTranslation.arel_table[:key].matches("%#{params[:search]}%")
17
+ value_like = CopycatTranslation.arel_table[:value].matches("%#{params[:search]}%")
18
+ @copycat_translations = query.where(key_like.or(value_like))
19
19
  end
20
20
  else
21
21
  @copycat_translations = []
@@ -6,10 +6,8 @@ class CopycatTranslation < ActiveRecord::Base
6
6
 
7
7
  validates :key, :presence => true
8
8
  validates :locale, :presence => true
9
-
10
- def self.where_like(col, pattern)
11
- where(arel_table[col].matches("%#{pattern}%")).where_clauses.first
12
- end
9
+
10
+ attr_accessible :locale, :key, :value
13
11
 
14
12
  module Serialize
15
13
 
@@ -3,7 +3,7 @@ module Copycat
3
3
  # this method overrides part of the i18n gem, lib/i18n/backend/simple.rb
4
4
  def lookup(locale, key, scope = [], options = {})
5
5
  return super unless ActiveRecord::Base.connected? && CopycatTranslation.table_exists?
6
- cct = CopycatTranslation.where(locale: locale, key: key).first
6
+ cct = CopycatTranslation.where(locale: locale.to_s, key: key).first
7
7
  return cct.value if cct
8
8
  value = super(locale, key, scope, options)
9
9
  if value.is_a?(String) || value.nil?
@@ -1,3 +1,3 @@
1
1
  module Copycat
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -1484,3 +1484,571 @@ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms)
1484
1484
 
1485
1485
  Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-16 22:27:36 -0400
1486
1486
  Served asset /copycat_engine.css - 304 Not Modified (0ms)
1487
+
1488
+
1489
+ Started GET "/" for 127.0.0.1 at 2012-04-24 14:41:44 -0400
1490
+ Processing by SiteController#index as HTML
1491
+ Rendered site/index.html.erb within layouts/application (70.0ms)
1492
+ Completed 200 OK in 85ms (Views: 49.6ms | ActiveRecord: 34.6ms)
1493
+
1494
+
1495
+ Started GET "/copycat_translations" for 127.0.0.1 at 2012-04-24 14:42:16 -0400
1496
+ Processing by CopycatTranslationsController#index as HTML
1497
+ Filter chain halted as #<Proc:0x00000102287ac8@/Users/sjm/.rvm/gems/ruby-1.9.3-p125@copycat/gems/actionpack-3.2.2/lib/action_controller/metal/http_authentication.rb:112> rendered or redirected
1498
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
1499
+
1500
+
1501
+ Started GET "/copycat_translations" for 127.0.0.1 at 2012-04-24 14:42:42 -0400
1502
+ Processing by CopycatTranslationsController#index as HTML
1503
+ PG::Error: ERROR: relation "copycat_translations" does not exist
1504
+ LINE 4: WHERE a.attrelid = '"copycat_translations"'::re...
1505
+ ^
1506
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
1507
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1508
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1509
+ WHERE a.attrelid = '"copycat_translations"'::regclass
1510
+ AND a.attnum > 0 AND NOT a.attisdropped
1511
+ ORDER BY a.attnum
1512
+
1513
+ Completed 500 Internal Server Error in 11ms
1514
+
1515
+ ActiveRecord::StatementInvalid (PG::Error: ERROR: relation "copycat_translations" does not exist
1516
+ LINE 4: WHERE a.attrelid = '"copycat_translations"'::re...
1517
+ ^
1518
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
1519
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1520
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1521
+ WHERE a.attrelid = '"copycat_translations"'::regclass
1522
+ AND a.attnum > 0 AND NOT a.attisdropped
1523
+ ORDER BY a.attnum
1524
+ ):
1525
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:1139:in `async_exec'
1526
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:1139:in `exec_no_cache'
1527
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:663:in `block in exec_query'
1528
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
1529
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1530
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
1531
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:662:in `exec_query'
1532
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:1264:in `column_definitions'
1533
+ activerecord (3.2.2) lib/active_record/connection_adapters/postgresql_adapter.rb:858:in `columns'
1534
+ activerecord (3.2.2) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
1535
+ activerecord (3.2.2) lib/active_record/model_schema.rb:228:in `yield'
1536
+ activerecord (3.2.2) lib/active_record/model_schema.rb:228:in `default'
1537
+ activerecord (3.2.2) lib/active_record/model_schema.rb:228:in `columns'
1538
+ activerecord (3.2.2) lib/active_record/model_schema.rb:237:in `columns_hash'
1539
+ activerecord (3.2.2) lib/active_record/locking/optimistic.rb:129:in `locking_enabled?'
1540
+ activerecord (3.2.2) lib/active_record/relation.rb:170:in `exec_queries'
1541
+ activerecord (3.2.2) lib/active_record/relation.rb:160:in `block in to_a'
1542
+ activerecord (3.2.2) lib/active_record/explain.rb:40:in `logging_query_plan'
1543
+ activerecord (3.2.2) lib/active_record/relation.rb:159:in `to_a'
1544
+ activerecord (3.2.2) lib/active_record/relation/finder_methods.rb:159:in `all'
1545
+ activerecord (3.2.2) lib/active_record/relation/finder_methods.rb:105:in `find'
1546
+ activerecord (3.2.2) lib/active_record/relation/finder_methods.rb:101:in `find'
1547
+ activerecord (3.2.2) lib/active_record/querying.rb:5:in `find'
1548
+ /vermonster/copycat/app/controllers/copycat_translations_controller.rb:23:in `index'
1549
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1550
+ actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
1551
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
1552
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1553
+ activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__1367298955991195554__process_action__4346801780060095__callbacks'
1554
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
1555
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1556
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
1557
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1558
+ actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1559
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1560
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
1561
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1562
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
1563
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1564
+ actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
1565
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1566
+ actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
1567
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
1568
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
1569
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1570
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
1571
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
1572
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
1573
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
1574
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
1575
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
1576
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
1577
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
1578
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1579
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
1580
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
1581
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
1582
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1583
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
1584
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
1585
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
1586
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
1587
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
1588
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
1589
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1590
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__2236250495650225339__call__3456685135361827118__callbacks'
1591
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
1592
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1593
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
1594
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1595
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
1596
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1597
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1598
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1599
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
1600
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
1601
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1602
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1603
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1604
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1605
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1606
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
1607
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
1608
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
1609
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1610
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
1611
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1612
+ /Users/sjm/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1613
+ /Users/sjm/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1614
+ /Users/sjm/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1615
+
1616
+
1617
+ Rendered /Users/sjm/.rvm/gems/ruby-1.9.3-p125@copycat/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
1618
+ Rendered /Users/sjm/.rvm/gems/ruby-1.9.3-p125@copycat/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1619
+ Rendered /Users/sjm/.rvm/gems/ruby-1.9.3-p125@copycat/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms)
1620
+  (17.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1621
+  (6.6ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
1622
+ FROM pg_class t
1623
+ INNER JOIN pg_index d ON t.oid = d.indrelid
1624
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
1625
+ WHERE i.relkind = 'i'
1626
+ AND d.indisprimary = 'f'
1627
+ AND t.relname = 'schema_migrations'
1628
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
1629
+ ORDER BY i.relname
1630
+
1631
+  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1632
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1633
+ Migrating to CreateCopycatTranslations (20120320194234)
1634
+  (0.2ms) BEGIN
1635
+  (11.5ms) CREATE TABLE "copycat_translations" ("id" serial primary key, "locale" character varying(255), "key" character varying(255), "value" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1636
+  (0.9ms)  SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
1637
+ FROM pg_class t
1638
+ INNER JOIN pg_index d ON t.oid = d.indrelid
1639
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
1640
+ WHERE i.relkind = 'i'
1641
+ AND d.indisprimary = 'f'
1642
+ AND t.relname = 'copycat_translations'
1643
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
1644
+ ORDER BY i.relname
1645
+ 
1646
+  (0.8ms) CREATE UNIQUE INDEX "index_copycat_translations_on_locale_and_key" ON "copycat_translations" ("locale", "key")
1647
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120320194234')
1648
+  (0.7ms) COMMIT
1649
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1650
+ PK and serial sequence (5.7ms) SELECT attr.attname, seq.relname
1651
+ FROM pg_class seq,
1652
+ pg_attribute attr,
1653
+ pg_depend dep,
1654
+ pg_namespace name,
1655
+ pg_constraint cons
1656
+ WHERE seq.oid = dep.objid
1657
+ AND seq.relkind = 'S'
1658
+ AND attr.attrelid = dep.refobjid
1659
+ AND attr.attnum = dep.refobjsubid
1660
+ AND attr.attrelid = cons.conrelid
1661
+ AND attr.attnum = cons.conkey[1]
1662
+ AND cons.contype = 'p'
1663
+ AND dep.refobjid = '"copycat_translations"'::regclass
1664
+
1665
+  (1.7ms)  SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
1666
+ FROM pg_class t
1667
+ INNER JOIN pg_index d ON t.oid = d.indrelid
1668
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
1669
+ WHERE i.relkind = 'i'
1670
+ AND d.indisprimary = 'f'
1671
+ AND t.relname = 'copycat_translations'
1672
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
1673
+ ORDER BY i.relname
1674
+ 
1675
+ Columns for index index_copycat_translations_on_locale_and_key on copycat_translations (0.3ms) SELECT a.attnum, a.attname
1676
+ FROM pg_attribute a
1677
+ WHERE a.attrelid = 2612071
1678
+ AND a.attnum IN (2,3)
1679
+
1680
+
1681
+
1682
+ Started GET "/copycat_translations" for 127.0.0.1 at 2012-04-24 14:45:20 -0400
1683
+ Processing by CopycatTranslationsController#index as HTML
1684
+ CopycatTranslation Load (0.8ms) SELECT distinct locale FROM "copycat_translations" 
1685
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.8ms)
1686
+ Completed 200 OK in 39ms (Views: 32.2ms | ActiveRecord: 0.8ms)
1687
+
1688
+
1689
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 14:45:20 -0400
1690
+ Served asset /copycat_engine.css - 304 Not Modified (1ms)
1691
+
1692
+
1693
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 14:45:32 -0400
1694
+ Processing by CopycatTranslationsController#index as HTML
1695
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1696
+ CopycatTranslation Load (0.5ms) SELECT "copycat_translations".* FROM "copycat_translations"
1697
+ CopycatTranslation Load (0.3ms) SELECT distinct locale FROM "copycat_translations" 
1698
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (1.0ms)
1699
+ Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.7ms)
1700
+
1701
+
1702
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 14:45:32 -0400
1703
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1704
+
1705
+
1706
+ Started GET "/" for 127.0.0.1 at 2012-04-24 14:45:44 -0400
1707
+ Processing by SiteController#index as HTML
1708
+ CopycatTranslation Load (0.6ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE "copycat_translations"."locale" = 'en' AND "copycat_translations"."key" = 'site.index.header' LIMIT 1
1709
+  (0.2ms) BEGIN
1710
+ SQL (3.7ms) INSERT INTO "copycat_translations" ("created_at", "key", "locale", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Tue, 24 Apr 2012 18:45:44 UTC +00:00], ["key", "site.index.header"], ["locale", :en], ["updated_at", Tue, 24 Apr 2012 18:45:44 UTC +00:00], ["value", "The Header"]]
1711
+  (1.8ms) COMMIT
1712
+ CopycatTranslation Load (0.4ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE "copycat_translations"."locale" = 'en' AND "copycat_translations"."key" = 'site.index.intro' LIMIT 1
1713
+  (0.1ms) BEGIN
1714
+ SQL (0.3ms) INSERT INTO "copycat_translations" ("created_at", "key", "locale", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Tue, 24 Apr 2012 18:45:44 UTC +00:00], ["key", "site.index.intro"], ["locale", :en], ["updated_at", Tue, 24 Apr 2012 18:45:44 UTC +00:00], ["value", nil]]
1715
+  (0.4ms) COMMIT
1716
+ Rendered site/index.html.erb within layouts/application (24.7ms)
1717
+ Completed 200 OK in 29ms (Views: 21.6ms | ActiveRecord: 7.6ms)
1718
+
1719
+
1720
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 14:45:48 -0400
1721
+ Processing by CopycatTranslationsController#index as HTML
1722
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1723
+ CopycatTranslation Load (0.8ms) SELECT "copycat_translations".* FROM "copycat_translations"
1724
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations" 
1725
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (1.4ms)
1726
+ Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 1.2ms)
1727
+
1728
+
1729
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 14:45:48 -0400
1730
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1731
+
1732
+
1733
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=the&commit=Search" for 127.0.0.1 at 2012-04-24 14:46:08 -0400
1734
+ Processing by CopycatTranslationsController#index as HTML
1735
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"the", "commit"=>"Search"}
1736
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations"
1737
+  (1.7ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" LIKE '%the%') OR ("copycat_translations"."value" LIKE '%the%'))
1738
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.2ms)
1739
+ Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 2.2ms)
1740
+
1741
+
1742
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 14:46:08 -0400
1743
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1744
+
1745
+
1746
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=the&commit=Search" for 127.0.0.1 at 2012-04-24 15:02:33 -0400
1747
+ Processing by CopycatTranslationsController#index as HTML
1748
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"the", "commit"=>"Search"}
1749
+ CopycatTranslation Load (0.9ms) SELECT distinct locale FROM "copycat_translations" 
1750
+  (1.9ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE 'the' OR "copycat_translations"."value" ILIKE 'the'))
1751
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (6.9ms)
1752
+ Completed 200 OK in 29ms (Views: 19.7ms | ActiveRecord: 2.8ms)
1753
+
1754
+
1755
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:02:33 -0400
1756
+ Served asset /copycat_engine.css - 304 Not Modified (1ms)
1757
+
1758
+
1759
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 15:02:36 -0400
1760
+ Processing by CopycatTranslationsController#index as HTML
1761
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1762
+ CopycatTranslation Load (0.5ms) SELECT "copycat_translations".* FROM "copycat_translations" 
1763
+ CopycatTranslation Load (0.2ms) SELECT distinct locale FROM "copycat_translations"
1764
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (1.4ms)
1765
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.8ms)
1766
+
1767
+
1768
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:02:37 -0400
1769
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1770
+
1771
+
1772
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=hea&commit=Search" for 127.0.0.1 at 2012-04-24 15:02:45 -0400
1773
+ Processing by CopycatTranslationsController#index as HTML
1774
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"hea", "commit"=>"Search"}
1775
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations" 
1776
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE 'hea' OR "copycat_translations"."value" ILIKE 'hea'))
1777
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.0ms)
1778
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms)
1779
+
1780
+
1781
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:02:45 -0400
1782
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1783
+
1784
+
1785
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=hea&commit=Search" for 127.0.0.1 at 2012-04-24 15:03:37 -0400
1786
+ Processing by CopycatTranslationsController#index as HTML
1787
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"hea", "commit"=>"Search"}
1788
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations" 
1789
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%hea%' OR "copycat_translations"."value" ILIKE '%hea%'))
1790
+ CopycatTranslation Load (0.3ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%hea%' OR "copycat_translations"."value" ILIKE '%hea%'))
1791
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.7ms)
1792
+ Completed 200 OK in 12ms (Views: 4.8ms | ActiveRecord: 1.1ms)
1793
+
1794
+
1795
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:03:37 -0400
1796
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1797
+
1798
+
1799
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=hea&commit=Search" for 127.0.0.1 at 2012-04-24 15:03:38 -0400
1800
+ Processing by CopycatTranslationsController#index as HTML
1801
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"hea", "commit"=>"Search"}
1802
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations"
1803
+  (0.3ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%hea%' OR "copycat_translations"."value" ILIKE '%hea%'))
1804
+ CopycatTranslation Load (0.3ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%hea%' OR "copycat_translations"."value" ILIKE '%hea%'))
1805
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.4ms)
1806
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 1.0ms)
1807
+
1808
+
1809
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:03:38 -0400
1810
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1811
+
1812
+
1813
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=the&commit=Search" for 127.0.0.1 at 2012-04-24 15:03:41 -0400
1814
+ Processing by CopycatTranslationsController#index as HTML
1815
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"the", "commit"=>"Search"}
1816
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations" 
1817
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%the%' OR "copycat_translations"."value" ILIKE '%the%'))
1818
+ CopycatTranslation Load (0.3ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%the%' OR "copycat_translations"."value" ILIKE '%the%'))
1819
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.8ms)
1820
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 1.1ms)
1821
+
1822
+
1823
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:03:41 -0400
1824
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1825
+
1826
+
1827
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=t%25e&commit=Search" for 127.0.0.1 at 2012-04-24 15:04:30 -0400
1828
+ Processing by CopycatTranslationsController#index as HTML
1829
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"t%e", "commit"=>"Search"}
1830
+ CopycatTranslation Load (0.5ms) SELECT distinct locale FROM "copycat_translations"
1831
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%t%e%' OR "copycat_translations"."value" ILIKE '%t%e%'))
1832
+ CopycatTranslation Load (0.4ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%t%e%' OR "copycat_translations"."value" ILIKE '%t%e%'))
1833
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.3ms)
1834
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 1.3ms)
1835
+
1836
+
1837
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:04:30 -0400
1838
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1839
+
1840
+
1841
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=h%25a&commit=Search" for 127.0.0.1 at 2012-04-24 15:04:40 -0400
1842
+ Processing by CopycatTranslationsController#index as HTML
1843
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"h%a", "commit"=>"Search"}
1844
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations" 
1845
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%h%a%' OR "copycat_translations"."value" ILIKE '%h%a%'))
1846
+ CopycatTranslation Load (0.4ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%h%a%' OR "copycat_translations"."value" ILIKE '%h%a%'))
1847
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.1ms)
1848
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 1.2ms)
1849
+
1850
+
1851
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:04:40 -0400
1852
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1853
+
1854
+
1855
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=h%5C%25a&commit=Search" for 127.0.0.1 at 2012-04-24 15:05:24 -0400
1856
+ Processing by CopycatTranslationsController#index as HTML
1857
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"h\\%a", "commit"=>"Search"}
1858
+ CopycatTranslation Load (0.3ms) SELECT distinct locale FROM "copycat_translations"
1859
+  (0.3ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%h\%a%' OR "copycat_translations"."value" ILIKE '%h\%a%'))
1860
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (1.4ms)
1861
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.6ms)
1862
+
1863
+
1864
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:05:24 -0400
1865
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1866
+
1867
+
1868
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=%25&commit=Search" for 127.0.0.1 at 2012-04-24 15:05:29 -0400
1869
+ Processing by CopycatTranslationsController#index as HTML
1870
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"%", "commit"=>"Search"}
1871
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations"
1872
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%%%' OR "copycat_translations"."value" ILIKE '%%%'))
1873
+ CopycatTranslation Load (0.3ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%%%' OR "copycat_translations"."value" ILIKE '%%%'))
1874
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.5ms)
1875
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 1.1ms)
1876
+
1877
+
1878
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:05:29 -0400
1879
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1880
+
1881
+
1882
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 15:08:22 -0400
1883
+ Processing by CopycatTranslationsController#index as HTML
1884
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1885
+ CopycatTranslation Load (0.5ms) SELECT "copycat_translations".* FROM "copycat_translations" 
1886
+ CopycatTranslation Load (0.7ms) SELECT distinct locale FROM "copycat_translations"
1887
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.4ms)
1888
+ Completed 200 OK in 41ms (Views: 16.3ms | ActiveRecord: 1.2ms)
1889
+
1890
+
1891
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:08:23 -0400
1892
+ Served asset /copycat_engine.css - 304 Not Modified (1ms)
1893
+
1894
+
1895
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=ead&commit=Search" for 127.0.0.1 at 2012-04-24 15:08:26 -0400
1896
+ Processing by CopycatTranslationsController#index as HTML
1897
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"ead", "commit"=>"Search"}
1898
+ CopycatTranslation Load (0.5ms) SELECT distinct locale FROM "copycat_translations" 
1899
+  (2.9ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%ead%' OR "copycat_translations"."value" ILIKE '%ead%'))
1900
+ CopycatTranslation Load (0.3ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%ead%' OR "copycat_translations"."value" ILIKE '%ead%'))
1901
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (6.1ms)
1902
+ Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 3.7ms)
1903
+
1904
+
1905
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:08:26 -0400
1906
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1907
+
1908
+
1909
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=head&commit=Search" for 127.0.0.1 at 2012-04-24 15:08:29 -0400
1910
+ Processing by CopycatTranslationsController#index as HTML
1911
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"head", "commit"=>"Search"}
1912
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM "copycat_translations"
1913
+  (0.4ms) SELECT COUNT(*) FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%head%' OR "copycat_translations"."value" ILIKE '%head%'))
1914
+ CopycatTranslation Load (0.4ms) SELECT "copycat_translations".* FROM "copycat_translations" WHERE (("copycat_translations"."key" ILIKE '%head%' OR "copycat_translations"."value" ILIKE '%head%'))
1915
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.8ms)
1916
+ Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 1.2ms)
1917
+
1918
+
1919
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:08:29 -0400
1920
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1921
+  (57.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1922
+  (28.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1923
+  (1.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
1924
+ Migrating to CreateCopycatTranslations (20120320194234)
1925
+  (11.6ms) CREATE TABLE `copycat_translations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `locale` varchar(255), `key` varchar(255), `value` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
1926
+  (16.2ms) CREATE UNIQUE INDEX `index_copycat_translations_on_locale_and_key` ON `copycat_translations` (`locale`, `key`)
1927
+  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120320194234')
1928
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
1929
+
1930
+
1931
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=head&commit=Search" for 127.0.0.1 at 2012-04-24 15:09:48 -0400
1932
+ Processing by CopycatTranslationsController#index as HTML
1933
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"head", "commit"=>"Search"}
1934
+ CopycatTranslation Load (8.4ms) SELECT distinct locale FROM `copycat_translations` 
1935
+  (9.7ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%head%' OR `copycat_translations`.`value` LIKE '%head%'))
1936
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (13.8ms)
1937
+ Completed 200 OK in 36ms (Views: 16.6ms | ActiveRecord: 18.1ms)
1938
+
1939
+
1940
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:09:48 -0400
1941
+ Served asset /copycat_engine.css - 304 Not Modified (1ms)
1942
+
1943
+
1944
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:12 -0400
1945
+ Processing by CopycatTranslationsController#index as HTML
1946
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1947
+ CopycatTranslation Load (2.6ms) SELECT `copycat_translations`.* FROM `copycat_translations` 
1948
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM `copycat_translations`
1949
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (0.8ms)
1950
+ Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 3.0ms)
1951
+
1952
+
1953
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:12 -0400
1954
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1955
+
1956
+
1957
+ Started GET "/" for 127.0.0.1 at 2012-04-24 15:10:17 -0400
1958
+ Processing by SiteController#index as HTML
1959
+ CopycatTranslation Load (2.9ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE `copycat_translations`.`locale` = 'en' AND `copycat_translations`.`key` = 'site.index.header' LIMIT 1
1960
+ SQL (0.5ms) BEGIN
1961
+ SQL (9.2ms) INSERT INTO `copycat_translations` (`created_at`, `key`, `locale`, `updated_at`, `value`) VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 24 Apr 2012 19:10:17 UTC +00:00], ["key", "site.index.header"], ["locale", :en], ["updated_at", Tue, 24 Apr 2012 19:10:17 UTC +00:00], ["value", "The Header"]]
1962
+  (1.0ms) COMMIT
1963
+ CopycatTranslation Load (2.5ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE `copycat_translations`.`locale` = 'en' AND `copycat_translations`.`key` = 'site.index.intro' LIMIT 1
1964
+ SQL (0.1ms) BEGIN
1965
+ SQL (1.0ms) INSERT INTO `copycat_translations` (`created_at`, `key`, `locale`, `updated_at`, `value`) VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 24 Apr 2012 19:10:17 UTC +00:00], ["key", "site.index.intro"], ["locale", :en], ["updated_at", Tue, 24 Apr 2012 19:10:17 UTC +00:00], ["value", nil]]
1966
+  (0.3ms) COMMIT
1967
+ Rendered site/index.html.erb within layouts/application (41.9ms)
1968
+ Completed 200 OK in 48ms (Views: 29.8ms | ActiveRecord: 17.6ms)
1969
+
1970
+
1971
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:17 -0400
1972
+ Served asset /application.css - 200 OK (1ms)
1973
+
1974
+
1975
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:23 -0400
1976
+ Processing by CopycatTranslationsController#index as HTML
1977
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"", "commit"=>"Search"}
1978
+ CopycatTranslation Load (0.6ms) SELECT `copycat_translations`.* FROM `copycat_translations` 
1979
+ CopycatTranslation Load (1.7ms) SELECT distinct locale FROM `copycat_translations`
1980
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (18.3ms)
1981
+ Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 2.3ms)
1982
+
1983
+
1984
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:23 -0400
1985
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
1986
+
1987
+
1988
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=head&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:26 -0400
1989
+ Processing by CopycatTranslationsController#index as HTML
1990
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"head", "commit"=>"Search"}
1991
+ CopycatTranslation Load (2.1ms) SELECT distinct locale FROM `copycat_translations` 
1992
+  (0.4ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%head%' OR `copycat_translations`.`value` LIKE '%head%'))
1993
+ CopycatTranslation Load (0.3ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%head%' OR `copycat_translations`.`value` LIKE '%head%'))
1994
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.4ms)
1995
+ Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 2.7ms)
1996
+
1997
+
1998
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:26 -0400
1999
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
2000
+
2001
+
2002
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=hes&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:32 -0400
2003
+ Processing by CopycatTranslationsController#index as HTML
2004
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"hes", "commit"=>"Search"}
2005
+ CopycatTranslation Load (0.4ms) SELECT distinct locale FROM `copycat_translations`
2006
+  (0.3ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%hes%' OR `copycat_translations`.`value` LIKE '%hes%'))
2007
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (1.6ms)
2008
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.7ms)
2009
+
2010
+
2011
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:32 -0400
2012
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
2013
+
2014
+
2015
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=dex&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:36 -0400
2016
+ Processing by CopycatTranslationsController#index as HTML
2017
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"dex", "commit"=>"Search"}
2018
+ CopycatTranslation Load (0.5ms) SELECT distinct locale FROM `copycat_translations`
2019
+  (0.4ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%dex%' OR `copycat_translations`.`value` LIKE '%dex%'))
2020
+ CopycatTranslation Load (0.3ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%dex%' OR `copycat_translations`.`value` LIKE '%dex%'))
2021
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (2.9ms)
2022
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 1.2ms)
2023
+
2024
+
2025
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:36 -0400
2026
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
2027
+
2028
+
2029
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=%25&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:39 -0400
2030
+ Processing by CopycatTranslationsController#index as HTML
2031
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"%", "commit"=>"Search"}
2032
+ CopycatTranslation Load (0.6ms) SELECT distinct locale FROM `copycat_translations` 
2033
+  (0.4ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%%%' OR `copycat_translations`.`value` LIKE '%%%'))
2034
+ CopycatTranslation Load (0.3ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%%%' OR `copycat_translations`.`value` LIKE '%%%'))
2035
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.0ms)
2036
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 1.3ms)
2037
+
2038
+
2039
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:39 -0400
2040
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)
2041
+
2042
+
2043
+ Started GET "/copycat_translations?utf8=%E2%9C%93&locale=&search=SIte&commit=Search" for 127.0.0.1 at 2012-04-24 15:10:44 -0400
2044
+ Processing by CopycatTranslationsController#index as HTML
2045
+ Parameters: {"utf8"=>"✓", "locale"=>"", "search"=>"SIte", "commit"=>"Search"}
2046
+ CopycatTranslation Load (0.6ms) SELECT distinct locale FROM `copycat_translations`
2047
+  (0.7ms) SELECT COUNT(*) FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%SIte%' OR `copycat_translations`.`value` LIKE '%SIte%'))
2048
+ CopycatTranslation Load (0.3ms) SELECT `copycat_translations`.* FROM `copycat_translations` WHERE ((`copycat_translations`.`key` LIKE '%SIte%' OR `copycat_translations`.`value` LIKE '%SIte%'))
2049
+ Rendered /vermonster/copycat/app/views/copycat_translations/index.html.erb within layouts/copycat (3.2ms)
2050
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 1.6ms)
2051
+
2052
+
2053
+ Started GET "/assets/copycat_engine.css?body=1" for 127.0.0.1 at 2012-04-24 15:10:44 -0400
2054
+ Served asset /copycat_engine.css - 304 Not Modified (0ms)