rails_admin 0.4.9 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_admin might be problematic. Click here for more details.

Files changed (281) hide show
  1. data.tar.gz.sig +0 -0
  2. data/Gemfile +10 -9
  3. data/README.md +9 -0
  4. data/app/assets/javascripts/rails_admin/ra.filtering-select.js +3 -3
  5. data/app/assets/javascripts/rails_admin/ra.nested-form-hooks.coffee +1 -1
  6. data/app/assets/javascripts/rails_admin/ra.remote-form.js +1 -1
  7. data/app/assets/javascripts/rails_admin/ra.widgets.coffee +28 -26
  8. data/app/helpers/rails_admin/application_helper.rb +2 -2
  9. data/app/views/rails_admin/main/_form_ck_editor.html.haml +10 -0
  10. data/app/views/rails_admin/main/_form_code_mirror.html.haml +9 -0
  11. data/app/views/rails_admin/main/_form_text.html.haml +1 -31
  12. data/app/views/rails_admin/main/_form_wysihtml5.html.haml +8 -0
  13. data/lib/generators/rails_admin/install_generator.rb +40 -31
  14. data/lib/generators/rails_admin/templates/initializer.erb +2 -2
  15. data/lib/rails_admin/abstract_model.rb +1 -1
  16. data/lib/rails_admin/adapters/active_record.rb +21 -17
  17. data/lib/rails_admin/adapters/active_record/abstract_object.rb +1 -1
  18. data/lib/rails_admin/adapters/mongoid.rb +1 -0
  19. data/lib/rails_admin/config.rb +2 -2
  20. data/lib/rails_admin/config/configurable.rb +13 -5
  21. data/lib/rails_admin/config/fields/base.rb +1 -25
  22. data/lib/rails_admin/config/fields/factories/enum.rb +8 -1
  23. data/lib/rails_admin/config/fields/types/all.rb +4 -1
  24. data/lib/rails_admin/config/fields/types/ck_editor.rb +45 -0
  25. data/lib/rails_admin/config/fields/types/code_mirror.rb +55 -0
  26. data/lib/rails_admin/config/fields/types/serialized.rb +1 -1
  27. data/lib/rails_admin/config/fields/types/text.rb +12 -66
  28. data/lib/rails_admin/config/fields/types/wysihtml5.rb +44 -0
  29. data/lib/rails_admin/config/model.rb +1 -1
  30. data/lib/rails_admin/extensions/history/history.rb +4 -2
  31. data/lib/rails_admin/version.rb +2 -2
  32. data/spec/controllers/rails_admin/main_controller_spec.rb +21 -0
  33. data/spec/dummy_app/Gemfile +11 -10
  34. data/spec/dummy_app/app/active_record/another_field_test.rb +0 -1
  35. data/spec/dummy_app/app/active_record/ball.rb +0 -2
  36. data/spec/dummy_app/app/active_record/category.rb +0 -2
  37. data/spec/dummy_app/app/active_record/cms/basic_page.rb +0 -2
  38. data/spec/dummy_app/app/active_record/comment.rb +0 -2
  39. data/spec/dummy_app/app/active_record/comment/confirmed.rb +1 -1
  40. data/spec/dummy_app/app/active_record/division.rb +0 -2
  41. data/spec/dummy_app/app/active_record/draft.rb +0 -2
  42. data/spec/dummy_app/app/active_record/fan.rb +0 -2
  43. data/spec/dummy_app/app/active_record/field_test.rb +0 -5
  44. data/spec/dummy_app/app/active_record/image.rb +0 -2
  45. data/spec/dummy_app/app/active_record/league.rb +1 -3
  46. data/spec/dummy_app/app/active_record/nested_field_test.rb +0 -2
  47. data/spec/dummy_app/app/active_record/player.rb +0 -3
  48. data/spec/dummy_app/app/active_record/team.rb +1 -4
  49. data/spec/dummy_app/app/active_record/user.rb +0 -4
  50. data/spec/dummy_app/app/mongoid/another_field_test.rb +0 -1
  51. data/spec/dummy_app/app/mongoid/ball.rb +0 -2
  52. data/spec/dummy_app/app/mongoid/category.rb +0 -2
  53. data/spec/dummy_app/app/mongoid/cms/basic_page.rb +0 -2
  54. data/spec/dummy_app/app/mongoid/comment.rb +0 -2
  55. data/spec/dummy_app/app/mongoid/division.rb +0 -2
  56. data/spec/dummy_app/app/mongoid/draft.rb +0 -2
  57. data/spec/dummy_app/app/mongoid/fan.rb +0 -2
  58. data/spec/dummy_app/app/mongoid/field_test.rb +1 -5
  59. data/spec/dummy_app/app/mongoid/image.rb +0 -2
  60. data/spec/dummy_app/app/mongoid/league.rb +0 -2
  61. data/spec/dummy_app/app/mongoid/nested_field_test.rb +0 -2
  62. data/spec/dummy_app/app/mongoid/player.rb +1 -3
  63. data/spec/dummy_app/app/mongoid/team.rb +0 -2
  64. data/spec/dummy_app/app/mongoid/user.rb +1 -2
  65. data/spec/dummy_app/config/application.rb +0 -7
  66. data/spec/dummy_app/config/environments/development.rb +1 -7
  67. data/spec/dummy_app/config/environments/test.rb +2 -4
  68. data/spec/dummy_app/config/initializers/secret_token.rb +1 -0
  69. data/spec/dummy_app/config/routes.rb +2 -2
  70. data/spec/dummy_app/db/test.sqlite3 +0 -0
  71. data/spec/dummy_app/db/test.sqlite3-journal +0 -0
  72. data/spec/dummy_app/log/test.log +1423 -0
  73. data/spec/dummy_app/tmp/cache/assets/test/sass/0759f2828afb668a39de3ede4887b369780cdb28/jquery-ui-1.8.7.custom.scssc +0 -0
  74. data/spec/dummy_app/tmp/cache/assets/test/sass/1de49575831c79805eaa5ca759c4aae181c38254/mixins.scssc +0 -0
  75. data/spec/dummy_app/tmp/cache/assets/test/sass/1de49575831c79805eaa5ca759c4aae181c38254/theming.scssc +0 -0
  76. data/spec/dummy_app/tmp/cache/assets/test/sass/1de49575831c79805eaa5ca759c4aae181c38254/variables.scssc +0 -0
  77. data/spec/dummy_app/tmp/cache/assets/test/sass/50e4466efc3255401f37f709f5f338668408ef71/mixins.scssc +0 -0
  78. data/spec/dummy_app/tmp/cache/assets/test/sass/50e4466efc3255401f37f709f5f338668408ef71/theming.scssc +0 -0
  79. data/spec/dummy_app/tmp/cache/assets/test/sass/50e4466efc3255401f37f709f5f338668408ef71/variables.scssc +0 -0
  80. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/jquery.colorpicker.scssc +0 -0
  81. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/jquery.ui.timepicker.scssc +0 -0
  82. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/ra.calendar-additions.scssc +0 -0
  83. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/ra.filtering-multiselect.scssc +0 -0
  84. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/ra.widgets.scssc +0 -0
  85. data/spec/dummy_app/tmp/cache/assets/test/sass/60ddb7b14935cbd11f83ec188b4bb1d618ec996f/rails_admin.scss.erbc +0 -0
  86. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_accordion.scssc +0 -0
  87. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_alerts.scssc +0 -0
  88. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_breadcrumbs.scssc +0 -0
  89. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_button-groups.scssc +0 -0
  90. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_buttons.scssc +0 -0
  91. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_carousel.scssc +0 -0
  92. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_close.scssc +0 -0
  93. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_component-animations.scssc +0 -0
  94. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_dropdowns.scssc +0 -0
  95. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_forms.scssc +0 -0
  96. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_grid.scssc +0 -0
  97. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_hero-unit.scssc +0 -0
  98. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_labels-badges.scssc +0 -0
  99. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_layouts.scssc +0 -0
  100. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_mixins.scssc +0 -0
  101. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_modals.scssc +0 -0
  102. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_navbar.scssc +0 -0
  103. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_navs.scssc +0 -0
  104. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_pager.scssc +0 -0
  105. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_pagination.scssc +0 -0
  106. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_popovers.scssc +0 -0
  107. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_progress-bars.scssc +0 -0
  108. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_reset.scssc +0 -0
  109. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_scaffolding.scssc +0 -0
  110. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_tables.scssc +0 -0
  111. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_thumbnails.scssc +0 -0
  112. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_tooltip.scssc +0 -0
  113. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_type.scssc +0 -0
  114. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_utilities.scssc +0 -0
  115. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_variables.scssc +0 -0
  116. data/spec/dummy_app/tmp/cache/assets/test/sass/6f29b1fe98624195dbac940d9b40236b6dc877d3/_wells.scssc +0 -0
  117. data/spec/dummy_app/tmp/cache/assets/test/sass/7e38bdfe3aa21a76da53ed64003686502baf8110/font-awesome.css.erbc +0 -0
  118. data/spec/dummy_app/tmp/cache/assets/test/sass/e307626ae1f1da10c3b3073e0db008ce0a7bb251/mixins.scssc +0 -0
  119. data/spec/dummy_app/tmp/cache/assets/test/sass/e307626ae1f1da10c3b3073e0db008ce0a7bb251/theming.scssc +0 -0
  120. data/spec/dummy_app/tmp/cache/assets/test/sass/e307626ae1f1da10c3b3073e0db008ce0a7bb251/variables.scssc +0 -0
  121. data/spec/dummy_app/tmp/cache/assets/test/sprockets/039a5bf66d220fc450725c31951c0003 +0 -0
  122. data/spec/dummy_app/tmp/cache/assets/test/sprockets/04fc3904edb99236187355cbb911f89e +0 -0
  123. data/spec/dummy_app/tmp/cache/assets/test/sprockets/0602c18d49d9162a4115f24689044530 +0 -0
  124. data/spec/dummy_app/tmp/cache/assets/test/sprockets/07a77b4186e7385aa93ee9817d30976d +0 -0
  125. data/spec/dummy_app/tmp/cache/assets/test/sprockets/09b197beb54130b951fd00df7b3e2ebb +0 -0
  126. data/spec/dummy_app/tmp/cache/assets/test/sprockets/0c53bdcb904e01bc3006dea06a984620 +0 -0
  127. data/spec/dummy_app/tmp/cache/assets/test/sprockets/0cf66ef0545ef4a25158b64a8a63acc0 +0 -0
  128. data/spec/dummy_app/tmp/cache/assets/test/sprockets/0dcf1b67fc7a00043acda5614e28621a +0 -0
  129. data/spec/dummy_app/tmp/cache/assets/test/sprockets/0ed5cf232eb4a060d90fa60242ec82eb +0 -0
  130. data/spec/dummy_app/tmp/cache/assets/test/sprockets/104cf49747acce2cd760bde221916757 +0 -0
  131. data/spec/dummy_app/tmp/cache/assets/test/sprockets/11336ccd98408f1d60bc4f137dd6d513 +0 -0
  132. data/spec/dummy_app/tmp/cache/assets/test/sprockets/129ab684736012c224b424a9202c4077 +0 -0
  133. data/spec/dummy_app/tmp/cache/assets/test/sprockets/13c5851787eee7ea1dbb6771daf38754 +0 -0
  134. data/spec/dummy_app/tmp/cache/assets/test/sprockets/148bf2b1fa2b1c501e534d8019e35550 +0 -0
  135. data/spec/dummy_app/tmp/cache/assets/test/sprockets/17805e3468eb563f81855f6ac93ac7de +0 -0
  136. data/spec/dummy_app/tmp/cache/assets/test/sprockets/196f8e4aff622708f7a2060b98fa730a +0 -0
  137. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1a1d73dd5f0ac320b3a8952b0e6669f5 +0 -0
  138. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1a5c2589d7a73ca326745770ec8c3a68 +0 -0
  139. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1b1d3f4fa8e1243fb66271b20233d01b +0 -0
  140. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1ca1a15643004e8daee77e762149bfe6 +0 -0
  141. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1cb0bbe35ef01a226fef698f0a9277d2 +0 -0
  142. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1d635e9b0475899eec5bce058b6d48b4 +0 -0
  143. data/spec/dummy_app/tmp/cache/assets/test/sprockets/1e097efcd1115a58473612106f20aad2 +0 -0
  144. data/spec/dummy_app/tmp/cache/assets/test/sprockets/2047e1449cbcbd8331c15e05c33f006a +0 -0
  145. data/spec/dummy_app/tmp/cache/assets/test/sprockets/2740e776eb74b1103220f4a3bf76e55d +0 -0
  146. data/spec/dummy_app/tmp/cache/assets/test/sprockets/281a64929dab11d3635bdd9ff39fe31c +0 -0
  147. data/spec/dummy_app/tmp/cache/assets/test/sprockets/28549a2080576826cd4de9ce7ed8d69f +0 -0
  148. data/spec/dummy_app/tmp/cache/assets/test/sprockets/2e1c59996da5739b76e5ed290e16e4b8 +0 -0
  149. data/spec/dummy_app/tmp/cache/assets/test/sprockets/308e53bfc20ae7fe1c148e8cd4795184 +0 -0
  150. data/spec/dummy_app/tmp/cache/assets/test/sprockets/30d3cccc8e819bfc42faebbae2132106 +0 -0
  151. data/spec/dummy_app/tmp/cache/assets/test/sprockets/349b83b5f7fc156a7865362b50c8a747 +0 -0
  152. data/spec/dummy_app/tmp/cache/assets/test/sprockets/352b668d5a833880cd46e68e87b61f83 +0 -0
  153. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3a44eeaaf1973955ec1385900f16e9b0 +0 -0
  154. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3b9145cad8e6cc05febf5b7ebfdc09b5 +0 -0
  155. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3ba0f5b2e3e94b6513f5136fa20e5a24 +0 -0
  156. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3bb982191028c492bec814ca36dda349 +0 -0
  157. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3e529508d6168a92db8f1706328dbd6b +0 -0
  158. data/spec/dummy_app/tmp/cache/assets/test/sprockets/3fea6c96d559fd56c796222c89bf4a55 +0 -0
  159. data/spec/dummy_app/tmp/cache/assets/test/sprockets/410492703e63dffa68a29af838226cc6 +0 -0
  160. data/spec/dummy_app/tmp/cache/assets/test/sprockets/433362a2fd8b9b7a80331d20cdfd84b6 +0 -0
  161. data/spec/dummy_app/tmp/cache/assets/test/sprockets/445343e680a88785242a2aa99d907216 +0 -0
  162. data/spec/dummy_app/tmp/cache/assets/test/sprockets/4499a6f31ad672fb69537267becff285 +0 -0
  163. data/spec/dummy_app/tmp/cache/assets/test/sprockets/455dc61be5289cb0a50fc650c4a27b01 +0 -0
  164. data/spec/dummy_app/tmp/cache/assets/test/sprockets/4563ab77d6c769264c70b904c4ca2b37 +0 -0
  165. data/spec/dummy_app/tmp/cache/assets/test/sprockets/4c501e79458ca87b9b7964a3656cad68 +0 -0
  166. data/spec/dummy_app/tmp/cache/assets/test/sprockets/4f49294c06a799e1c063a1ccf100860c +0 -0
  167. data/spec/dummy_app/tmp/cache/assets/test/sprockets/4fd99da81590fb27074904dd2d4b0afe +0 -0
  168. data/spec/dummy_app/tmp/cache/assets/test/sprockets/54a5de7c79d8407342c31af3d5eb31f6 +0 -0
  169. data/spec/dummy_app/tmp/cache/assets/test/sprockets/5507d3ba3736f304240090662413733a +0 -0
  170. data/spec/dummy_app/tmp/cache/assets/test/sprockets/585bed8595e5e9d8e5e1a680ac20f005 +0 -0
  171. data/spec/dummy_app/tmp/cache/assets/test/sprockets/5c0be9a39a450f2b191275d281ff50d8 +0 -0
  172. data/spec/dummy_app/tmp/cache/assets/test/sprockets/5eab397d2a4b6ca7b0084107e4acc0d9 +0 -0
  173. data/spec/dummy_app/tmp/cache/assets/test/sprockets/5eae694e8713be9376531ee73716b107 +0 -0
  174. data/spec/dummy_app/tmp/cache/assets/test/sprockets/6012dbf768041ff3d9566cd00e6ad0e6 +0 -0
  175. data/spec/dummy_app/tmp/cache/assets/test/sprockets/61077cb42651197ce0d00d267f8cb157 +0 -0
  176. data/spec/dummy_app/tmp/cache/assets/test/sprockets/627a45561b3d1ecbd1a1f4850208503a +0 -0
  177. data/spec/dummy_app/tmp/cache/assets/test/sprockets/642ea63365a0f33fb982cde355dbd952 +0 -0
  178. data/spec/dummy_app/tmp/cache/assets/test/sprockets/67c296751ce247c30402dd43b035c05b +0 -0
  179. data/spec/dummy_app/tmp/cache/assets/test/sprockets/689332efdfbf2cfa06d02d26a47d4332 +0 -0
  180. data/spec/dummy_app/tmp/cache/assets/test/sprockets/694afe79cc6e42a3e5436d282997ea79 +0 -0
  181. data/spec/dummy_app/tmp/cache/assets/test/sprockets/6c5729b427f229cad24067bfec82441d +0 -0
  182. data/spec/dummy_app/tmp/cache/assets/test/sprockets/6f0a4a833a1ce47d77ebbd71ae021a4d +0 -0
  183. data/spec/dummy_app/tmp/cache/assets/test/sprockets/702016a19f9bf693eec6930878077e4e +0 -0
  184. data/spec/dummy_app/tmp/cache/assets/test/sprockets/724ce3ff0aeb1174d3a8fddfe1335a79 +0 -0
  185. data/spec/dummy_app/tmp/cache/assets/test/sprockets/726abc48daa7878021ee1c34360918af +0 -0
  186. data/spec/dummy_app/tmp/cache/assets/test/sprockets/749c6e08a7826fd22d279405af87aaf1 +0 -0
  187. data/spec/dummy_app/tmp/cache/assets/test/sprockets/77ad5664cd45382abab39f19d032133d +0 -0
  188. data/spec/dummy_app/tmp/cache/assets/test/sprockets/785692dac9a319d2706bd96d7fb5999c +0 -0
  189. data/spec/dummy_app/tmp/cache/assets/test/sprockets/7cfceeccc9c61c03ad54298ce2472f45 +0 -0
  190. data/spec/dummy_app/tmp/cache/assets/test/sprockets/7e73c94fd43e4f8b82acfa085d8d5476 +0 -0
  191. data/spec/dummy_app/tmp/cache/assets/test/sprockets/801e4f782d10f5498b68113e6b2ac139 +0 -0
  192. data/spec/dummy_app/tmp/cache/assets/test/sprockets/822dbfd89b2b1243844e7c3a0ba001a7 +0 -0
  193. data/spec/dummy_app/tmp/cache/assets/test/sprockets/842ea8c5f8b0fdb4ef7472b189a76174 +0 -0
  194. data/spec/dummy_app/tmp/cache/assets/test/sprockets/84a6a7978131f4f8c46fe9c480634aab +0 -0
  195. data/spec/dummy_app/tmp/cache/assets/test/sprockets/84cb05237234ff279ad6c78ef3e8e823 +0 -0
  196. data/spec/dummy_app/tmp/cache/assets/test/sprockets/84f51912f02a7a1ff255ae491b3cc711 +0 -0
  197. data/spec/dummy_app/tmp/cache/assets/test/sprockets/8605a56363a1d23fad98fbc6d9b3b047 +0 -0
  198. data/spec/dummy_app/tmp/cache/assets/test/sprockets/86120a9bdcdfa970f8dadae131a2e95e +0 -0
  199. data/spec/dummy_app/tmp/cache/assets/test/sprockets/88c829469780275b9c1714e2166e1ba4 +0 -0
  200. data/spec/dummy_app/tmp/cache/assets/test/sprockets/89ffe73975976a0200a923aa2e1e42fb +0 -0
  201. data/spec/dummy_app/tmp/cache/assets/test/sprockets/8b0a8bf59842e1d4aaa787eff38e207f +0 -0
  202. data/spec/dummy_app/tmp/cache/assets/test/sprockets/8b78cef60b108a16787f32ea26a792d0 +0 -0
  203. data/spec/dummy_app/tmp/cache/assets/test/sprockets/8ddbd7ab77689f8ebb25c59de8152b5e +0 -0
  204. data/spec/dummy_app/tmp/cache/assets/test/sprockets/8f9bc2d4514893616bed6d6bf75dded1 +0 -0
  205. data/spec/dummy_app/tmp/cache/assets/test/sprockets/91cb85d19bf8e4ebba27ccf6ea318d9f +0 -0
  206. data/spec/dummy_app/tmp/cache/assets/test/sprockets/922df3fedca77782061a6d4a6029e7f1 +0 -0
  207. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9509bd192a75365a34a00b01e04b5ab4 +0 -0
  208. data/spec/dummy_app/tmp/cache/assets/test/sprockets/97cd44fc8e2b4f6acb0d912be738c90f +0 -0
  209. data/spec/dummy_app/tmp/cache/assets/test/sprockets/98a7dfb33d5879f166f1bf20c031e836 +0 -0
  210. data/spec/dummy_app/tmp/cache/assets/test/sprockets/98d49f7e1c1d73b97ac2937069e8f312 +0 -0
  211. data/spec/dummy_app/tmp/cache/assets/test/sprockets/99c1629b9f2827a9840fe8d230e2c5df +0 -0
  212. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9a451dac641c38ce41d5c1b73fb8de2a +0 -0
  213. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9ba5e11e725ed4a76f73bc3c43070fc9 +0 -0
  214. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9c332bf94ad0e3614abadfaf3aaf60b2 +0 -0
  215. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9cf969e4845d5a4d718d2e8bfd77101d +0 -0
  216. data/spec/dummy_app/tmp/cache/assets/test/sprockets/9f9d40e0ca625e92215807c7d36eeb45 +0 -0
  217. data/spec/dummy_app/tmp/cache/assets/test/sprockets/a0d2eb8c9feccca7df34d40b8614a939 +0 -0
  218. data/spec/dummy_app/tmp/cache/assets/test/sprockets/a1657b7bdf73ec95be9f0514ee2254a2 +0 -0
  219. data/spec/dummy_app/tmp/cache/assets/test/sprockets/a1c38b062b4789cba43cfce569d89a4e +0 -0
  220. data/spec/dummy_app/tmp/cache/assets/test/sprockets/a2346449005dbaa9093d8ba7ed2a5d47 +0 -0
  221. data/spec/dummy_app/tmp/cache/assets/test/sprockets/a86a829dee3d408be1e17d970ee388fa +0 -0
  222. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ab554675ca375fa03f104b42bd948fe5 +0 -0
  223. data/spec/dummy_app/tmp/cache/assets/test/sprockets/aded07271baf96cd6d24924ad93ec73d +0 -0
  224. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ae325bc4588e222725187e5daf205589 +0 -0
  225. data/spec/dummy_app/tmp/cache/assets/test/sprockets/af529b87b946c6e64306fcce7453083e +0 -0
  226. data/spec/dummy_app/tmp/cache/assets/test/sprockets/b4760047e80466e8355e67301426c1d1 +0 -0
  227. data/spec/dummy_app/tmp/cache/assets/test/sprockets/b845c9c605c0ac49de3fbbb504e230f7 +0 -0
  228. data/spec/dummy_app/tmp/cache/assets/test/sprockets/b85362aec4168f3dc8d2a98060ee48eb +0 -0
  229. data/spec/dummy_app/tmp/cache/assets/test/sprockets/bab7336757583f60e7daf1487188ed18 +0 -0
  230. data/spec/dummy_app/tmp/cache/assets/test/sprockets/bd0a6ea6e12c15771e7f2523a3aadc63 +0 -0
  231. data/spec/dummy_app/tmp/cache/assets/test/sprockets/be49600855e45c34cba5d2d6746e2358 +0 -0
  232. data/spec/dummy_app/tmp/cache/assets/test/sprockets/be9c7f67a4c4bccb12ebfde75deadf78 +0 -0
  233. data/spec/dummy_app/tmp/cache/assets/test/sprockets/bff19a6530ebd8793f533e767a24e36e +0 -0
  234. data/spec/dummy_app/tmp/cache/assets/test/sprockets/c3be8bc6957ae7e95fb42e95b69a28c4 +0 -0
  235. data/spec/dummy_app/tmp/cache/assets/test/sprockets/c5787e2ae92280dbccc527e55b11635e +0 -0
  236. data/spec/dummy_app/tmp/cache/assets/test/sprockets/c5d9cd7fa2cb7bfe369963b0196f7ff4 +0 -0
  237. data/spec/dummy_app/tmp/cache/assets/test/sprockets/cfbcfcb1da5d394fb109e81d39e78159 +0 -0
  238. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d07f5793bd18b01f933ddca0fe37250e +0 -0
  239. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d0a719959de8c62c5bd015cce560bc8a +0 -0
  240. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d4c23978dcf23280699067752b4d380d +0 -0
  241. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d4e3f96df2204b35a7e8350ecc41cdc7 +0 -0
  242. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d5d70fe44f0d681894cd75826cdaea12 +0 -0
  243. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d6a6297cee0fca1e5e0838f582d80ab2 +0 -0
  244. data/spec/dummy_app/tmp/cache/assets/test/sprockets/d9266b8e42d3f777dc223da809274b31 +0 -0
  245. data/spec/dummy_app/tmp/cache/assets/test/sprockets/db583f90e8ee3ef1d2f254872519e9c6 +0 -0
  246. data/spec/dummy_app/tmp/cache/assets/test/sprockets/e4cc8214b21af79b430cd379aafeb4ce +0 -0
  247. data/spec/dummy_app/tmp/cache/assets/test/sprockets/e4e7c80687aa50a6e2e4b7c79a145a0c +0 -0
  248. data/spec/dummy_app/tmp/cache/assets/test/sprockets/e53e14c5fb50eb16744db14274a7eda8 +0 -0
  249. data/spec/dummy_app/tmp/cache/assets/test/sprockets/e600b47ff99e3ad76cb108e6c312c5b5 +0 -0
  250. data/spec/dummy_app/tmp/cache/assets/test/sprockets/e8f7215dd1531e59847951a7383271c5 +0 -0
  251. data/spec/dummy_app/tmp/cache/assets/test/sprockets/eb6ed96d57beb3fd8059dc280a7c2cd7 +0 -0
  252. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ed5e8a35a505b86b4bf715b78391a870 +0 -0
  253. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ee5e4d214ffc908f50e0a637eed3b7b1 +0 -0
  254. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ef0431217a4bac4852ecc9987fd2629e +0 -0
  255. data/spec/dummy_app/tmp/cache/assets/test/sprockets/f28c745f4469bda7feb0e7b30c6a49ae +0 -0
  256. data/spec/dummy_app/tmp/cache/assets/test/sprockets/f43162a23f1a30e5baf49f543f72487d +0 -0
  257. data/spec/dummy_app/tmp/cache/assets/test/sprockets/f62c80206996d477a114b40987636c55 +0 -0
  258. data/spec/dummy_app/tmp/cache/assets/test/sprockets/f72d29b2f2b71e9f9f690a806f572e21 +0 -0
  259. data/spec/dummy_app/tmp/cache/assets/test/sprockets/fa8aef4c90e0b7f97618ed51c78eb38a +0 -0
  260. data/spec/dummy_app/tmp/cache/assets/test/sprockets/fb7856209a606e83084889ae67f02673 +0 -0
  261. data/spec/dummy_app/tmp/cache/assets/test/sprockets/fb7a84e10813b0033c09263a0abf0fa3 +0 -0
  262. data/spec/dummy_app/tmp/cache/assets/test/sprockets/fb94af8a31614a8efe49c2714a8f894e +0 -0
  263. data/spec/dummy_app/tmp/cache/assets/test/sprockets/fea0b3135fde8d44c3aaf052a21d28f8 +0 -0
  264. data/spec/dummy_app/tmp/cache/assets/test/sprockets/ff4c93f7f26410e737809fc8772ddc5c +0 -0
  265. data/spec/integration/authorization/cancan_spec.rb +8 -16
  266. data/spec/integration/basic/export/rails_admin_basic_export_spec.rb +1 -1
  267. data/spec/integration/config/edit/rails_admin_config_edit_spec.rb +9 -34
  268. data/spec/integration/config/show/rails_admin_config_show_spec.rb +1 -1
  269. data/spec/integration/rails_admin_spec.rb +2 -2
  270. data/spec/rails_admin/abstract_model_spec.rb +1 -1
  271. data/spec/rails_admin/adapters/active_record/abstract_object_spec.rb +5 -5
  272. data/spec/rails_admin/adapters/active_record_spec.rb +11 -9
  273. data/spec/rails_admin/adapters/mongoid_spec.rb +1 -1
  274. data/spec/rails_admin/config/fields/base_spec.rb +1 -48
  275. data/spec/rails_admin/config/fields/types/{text_spec.rb → ck_editor_spec.rb} +6 -3
  276. metadata +418 -46
  277. metadata.gz.sig +3 -2
  278. data/spec/dummy_app/app/active_record/cms/unscoped_page.rb +0 -3
  279. data/spec/dummy_app/app/mongoid/cms/unscoped_page.rb +0 -5
  280. data/spec/dummy_app/config/initializers/strong_parameters.rb +0 -2
  281. data/spec/dummy_app/db/migrate/20111103174459_create_unscoped_pages.rb +0 -9
@@ -1,6 +1,7 @@
1
1
  class User
2
2
  include Mongoid::Document
3
3
  include Mongoid::Paperclip
4
+ include ActiveModel::ForbiddenAttributesProtection
4
5
  # Include default devise modules. Others available are:
5
6
  # :token_authenticatable, :confirmable, :lockable and :timeoutable
6
7
  devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable
@@ -45,8 +46,6 @@ class User
45
46
 
46
47
  include Mongoid::Timestamps
47
48
 
48
- attr_accessible :email, :password, :password_confirmation, :remember_me, :roles, :avatar
49
-
50
49
  # Add Paperclip support for avatars
51
50
  has_mongoid_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }
52
51
 
@@ -2,7 +2,6 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require "action_controller/railtie"
4
4
  require "action_mailer/railtie"
5
- require "active_resource/railtie"
6
5
  require "sprockets/railtie"
7
6
 
8
7
  begin
@@ -54,12 +53,6 @@ module DummyApp
54
53
  # like if you have constraints or database-specific column types
55
54
  # config.active_record.schema_format = :sql
56
55
 
57
- # Enforce whitelist mode for mass assignment.
58
- # This will create an empty whitelist of attributes available for mass-assignment for all models
59
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
60
- # parameters by using an attr_accessible or attr_protected declaration.
61
- config.active_record.whitelist_attributes = true if CI_ORM == :active_record
62
-
63
56
  # Enable the asset pipeline
64
57
  config.assets.enabled = true
65
58
 
@@ -5,9 +5,7 @@ DummyApp::Application.configure do
5
5
  # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
-
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
8
+ config.eager_load = false
11
9
 
12
10
  # Show full error reports and disable caching
13
11
  config.consider_all_requests_local = true
@@ -25,10 +23,6 @@ DummyApp::Application.configure do
25
23
  # Raise exception on mass assignment protection for Active Record models
26
24
  # config.active_record.mass_assignment_sanitizer = :strict
27
25
 
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5 if CI_ORM == :active_record
31
-
32
26
  # Do not compress assets
33
27
  config.assets.compress = false
34
28
 
@@ -6,20 +6,18 @@ DummyApp::Application.configure do
6
6
  # your test database is "scratch space" for the test suite and is wiped
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
+ config.eager_load = false
9
10
 
10
11
  # Configure static asset server for tests with Cache-Control for performance
11
12
  config.serve_static_assets = true
12
13
  config.static_cache_control = "public, max-age=3600"
13
14
 
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
16
-
17
15
  # Show full error reports and disable caching
18
16
  config.consider_all_requests_local = true
19
17
  config.action_controller.perform_caching = false
20
18
 
21
19
  # Raise exceptions instead of rendering exception templates
22
- # config.action_dispatch.show_exceptions = false
20
+ config.action_dispatch.show_exceptions = false
23
21
 
24
22
  # Disable request forgery protection in test environment
25
23
  config.action_controller.allow_forgery_protection = false
@@ -5,3 +5,4 @@
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
7
  DummyApp::Application.config.secret_token = 'e05799a4d22b29ad6cef7cc8c423f610f2d694327aae568d7112801f2f0ef6be3c9c9e056358f7a969be7a8a9a33351261d12bb0a25a7645aa1982c39a3b2a72'
8
+ DummyApp::Application.config.secret_key_base = '11cefe91820bbc7c4ef81114d5b8e9237bce9c1d5d1b4a2f8b333e151dfa3ff43b3db8d0d3b4dc414f15113f28c5d779e829c3cb3fbcdc7c5a94fe7fdcb2c81c'
@@ -4,7 +4,7 @@ DummyApp::Application.routes.draw do
4
4
 
5
5
  devise_for :users
6
6
  mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
7
- root :to => "rails_admin::Main#dashboard"
7
+ root :to => "rails_admin/main#dashboard"
8
8
  # https://github.com/sferik/rails_admin/issues/362
9
- match ':controller(/:action(/:id(.:format)))'
9
+ get ':controller(/:action(/:id(.:format)))'
10
10
  end
@@ -447954,3 +447954,1426 @@ Processing by RailsAdmin::MainController#index as HTML
447954
447954
  Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (13.2ms)
447955
447955
  Completed 200 OK in 308ms (Views: 123.3ms | ActiveRecord: 0.6ms)
447956
447956
   (1.7ms) rollback transaction
447957
+  (1.6ms) DROP TABLE "schema_migrations"
447958
+  (0.8ms) DROP TABLE "drafts"
447959
+  (0.8ms) DROP TABLE "leagues"
447960
+  (0.9ms) DROP TABLE "players"
447961
+  (0.7ms) DROP TABLE "users"
447962
+  (0.8ms) DROP TABLE "fans"
447963
+  (1.1ms) DROP TABLE "fans_teams"
447964
+  (0.9ms) DROP TABLE "comments"
447965
+  (1.0ms) DROP TABLE "field_tests"
447966
+  (0.8ms) DROP TABLE "cms_basic_pages"
447967
+  (0.9ms) DROP TABLE "teams"
447968
+  (0.9ms) DROP TABLE "balls"
447969
+  (0.9ms) DROP TABLE "divisions"
447970
+  (0.8ms) DROP TABLE "rails_admin_histories"
447971
+  (0.7ms) DROP TABLE "unscoped_pages"
447972
+  (0.7ms) DROP TABLE "nested_field_tests"
447973
+  (0.7ms) DROP TABLE "foo_bars"
447974
+  (0.8ms) DROP TABLE "categories"
447975
+  (0.8ms) DROP TABLE "another_field_tests"
447976
+  (0.7ms) DROP TABLE "images"
447977
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
447978
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
447979
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
447980
+ Migrating to CreateDivisionsMigration (1)
447981
+  (0.1ms) begin transaction
447982
+  (0.3ms) CREATE TABLE "divisions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "league_id" integer, "name" varchar(50) NOT NULL) 
447983
+ SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "1"]]
447984
+  (0.7ms) commit transaction
447985
+ Migrating to CreateDraftsMigration (2)
447986
+  (0.1ms) begin transaction
447987
+  (0.3ms) CREATE TABLE "drafts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "player_id" integer, "team_id" integer, "date" date, "round" integer, "pick" integer, "overall" integer, "college" varchar(100), "notes" text) 
447988
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "2"]]
447989
+  (0.5ms) commit transaction
447990
+ Migrating to CreateLeaguesMigration (3)
447991
+  (0.2ms) begin transaction
447992
+  (0.6ms) CREATE TABLE "leagues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "name" varchar(50) NOT NULL) 
447993
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "3"]]
447994
+  (0.9ms) commit transaction
447995
+ Migrating to CreatePlayersMigration (4)
447996
+  (0.2ms) begin transaction
447997
+  (0.5ms) CREATE TABLE "players" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime, "team_id" integer, "name" varchar(100) NOT NULL, "position" varchar(50), "number" integer NOT NULL, "retired" boolean DEFAULT 'f', "injured" boolean DEFAULT 'f', "born_on" date, "notes" text) 
447998
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "4"]]
447999
+  (0.7ms) commit transaction
448000
+ Migrating to CreateTeamsMigration (5)
448001
+  (0.1ms) begin transaction
448002
+  (0.4ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "league_id" integer, "division_id" integer, "name" varchar(50), "logo_url" varchar(255), "manager" varchar(100) NOT NULL, "ballpark" varchar(100), "mascot" varchar(100), "founded" integer, "wins" integer, "losses" integer, "win_percentage" float) 
448003
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "5"]]
448004
+  (0.7ms) commit transaction
448005
+ Migrating to DeviseCreateUsers (6)
448006
+  (0.1ms) begin transaction
448007
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "password_salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
448008
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
448009
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
448010
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "6"]]
448011
+  (0.9ms) commit transaction
448012
+ Migrating to CreateHistoriesTable (7)
448013
+  (0.2ms) begin transaction
448014
+  (0.4ms) CREATE TABLE "histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar(255), "username" varchar(255), "item" integer, "table" varchar(255), "created_at" datetime, "updated_at" datetime) 
448015
+  (0.1ms) CREATE INDEX "index_histories_on_item_and_table" ON "histories" ("item", "table")
448016
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "7"]]
448017
+  (0.8ms) commit transaction
448018
+ Migrating to CreateFansMigration (8)
448019
+  (0.1ms) begin transaction
448020
+  (0.3ms) CREATE TABLE "fans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "name" varchar(100) NOT NULL)
448021
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "8"]]
448022
+  (0.8ms) commit transaction
448023
+ Migrating to CreateFansTeamsMigration (9)
448024
+  (0.1ms) begin transaction
448025
+  (0.3ms) CREATE TABLE "fans_teams" ("fan_id" integer, "team_id" integer)
448026
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "9"]]
448027
+  (0.7ms) commit transaction
448028
+ Migrating to AddRevenueToTeamMigration (10)
448029
+  (0.1ms) begin transaction
448030
+  (1.2ms) ALTER TABLE "teams" ADD "revenue" decimal(18,2)
448031
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "10"]]
448032
+  (0.7ms) commit transaction
448033
+ Migrating to AddSuspendedToPlayerMigration (11)
448034
+  (0.1ms) begin transaction
448035
+  (0.4ms) ALTER TABLE "players" ADD "suspended" boolean DEFAULT 'f'
448036
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "11"]]
448037
+  (0.9ms) commit transaction
448038
+ Migrating to AddAvatarColumnsToUser (12)
448039
+  (0.1ms) begin transaction
448040
+  (0.3ms) ALTER TABLE "users" ADD "avatar_file_name" varchar(255)
448041
+  (0.2ms) ALTER TABLE "users" ADD "avatar_content_type" varchar(255)
448042
+  (0.2ms) ALTER TABLE "users" ADD "avatar_file_size" integer
448043
+  (0.2ms) ALTER TABLE "users" ADD "avatar_updated_at" datetime
448044
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "12"]]
448045
+  (0.8ms) commit transaction
448046
+ Migrating to AddRolesToUser (13)
448047
+  (0.1ms) begin transaction
448048
+  (0.4ms) ALTER TABLE "users" ADD "roles" varchar(255)
448049
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "13"]]
448050
+  (0.6ms) commit transaction
448051
+ Migrating to AddColorToTeamMigration (14)
448052
+  (0.1ms) begin transaction
448053
+  (0.3ms) ALTER TABLE "teams" ADD "color" varchar(255)
448054
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "14"]]
448055
+  (0.9ms) commit transaction
448056
+ Migrating to CreateRelTests (20101223222233)
448057
+  (0.1ms) begin transaction
448058
+  (0.4ms) CREATE TABLE "rel_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "league_id" integer, "division_id" integer NOT NULL, "player_id" integer, "created_at" datetime, "updated_at" datetime) 
448059
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20101223222233"]]
448060
+  (0.9ms) commit transaction
448061
+ Migrating to CreateComments (20110103205808)
448062
+  (0.1ms) begin transaction
448063
+  (0.3ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commentable_id" integer, "commentable_type" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) 
448064
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110103205808"]]
448065
+  (1.0ms) commit transaction
448066
+ Migrating to RenameHistoriesToRailsAdminHistories (20110123042530)
448067
+  (0.1ms) begin transaction
448068
+  (0.3ms) ALTER TABLE "histories" RENAME TO "rails_admin_histories"
448069
+  (0.4ms) DROP INDEX "index_histories_on_item_and_table"
448070
+  (0.2ms) CREATE INDEX "index_rails_admin_histories_on_item_and_table" ON "rails_admin_histories" ("item", "table")
448071
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110123042530"]]
448072
+  (0.9ms) commit transaction
448073
+ Migrating to CreateFieldTests (20110224184303)
448074
+  (0.1ms) begin transaction
448075
+  (0.3ms) CREATE TABLE "field_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_field" varchar(255), "text_field" text, "integer_field" integer, "float_field" float, "decimal_field" decimal, "datetime_field" datetime, "timestamp_field" datetime, "time_field" time, "date_field" date, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime) 
448076
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110224184303"]]
448077
+  (0.7ms) commit transaction
448078
+ Migrating to CreateCmsBasicPages (20110328193014)
448079
+  (0.1ms) begin transaction
448080
+  (0.3ms) CREATE TABLE "cms_basic_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) 
448081
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110328193014"]]
448082
+  (1.0ms) commit transaction
448083
+ Migrating to RemoveLeagueIdFromTeams (20110329183136)
448084
+  (0.1ms) begin transaction
448085
+  (0.4ms) CREATE TEMPORARY TABLE "ateams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "league_id" integer, "division_id" integer, "name" varchar(50), "logo_url" varchar(255), "manager" varchar(100) NOT NULL, "ballpark" varchar(100), "mascot" varchar(100), "founded" integer, "wins" integer, "losses" integer, "win_percentage" float, "revenue" decimal(18,2), "color" varchar(255)) 
448086
+  (0.1ms) SELECT * FROM "teams"
448087
+  (0.2ms) DROP TABLE "teams"
448088
+  (0.2ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "division_id" integer, "name" varchar(50), "logo_url" varchar(255), "manager" varchar(100) NOT NULL, "ballpark" varchar(100), "mascot" varchar(100), "founded" integer, "wins" integer, "losses" integer, "win_percentage" float, "revenue" decimal(18,2), "color" varchar(255))
448089
+  (0.1ms) SELECT * FROM "ateams"
448090
+  (0.4ms) DROP TABLE "ateams"
448091
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110329183136"]]
448092
+  (1.2ms) commit transaction
448093
+ Migrating to AddFormatToFieldTest (20110607152842)
448094
+  (0.1ms) begin transaction
448095
+  (0.3ms) ALTER TABLE "field_tests" ADD "format" varchar(255)
448096
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110607152842"]]
448097
+  (0.9ms) commit transaction
448098
+ Migrating to CreateBalls (20110714095433)
448099
+  (0.1ms) begin transaction
448100
+  (0.3ms) CREATE TABLE "balls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "color" varchar(255), "created_at" datetime, "updated_at" datetime)
448101
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110714095433"]]
448102
+  (1.1ms) commit transaction
448103
+ Migrating to AddProtectedFieldAndRestrictedFieldToFieldTests (20110831090841)
448104
+  (0.1ms) begin transaction
448105
+  (0.3ms) ALTER TABLE "field_tests" ADD "restricted_field" varchar(255)
448106
+  (0.1ms) ALTER TABLE "field_tests" ADD "protected_field" varchar(255)
448107
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110831090841"]]
448108
+  (0.9ms) commit transaction
448109
+ Migrating to ChangeDivisionPrimaryKey (20110901131551)
448110
+  (0.1ms) begin transaction
448111
+  (0.3ms) DROP TABLE "divisions"
448112
+  (0.1ms) CREATE TABLE "divisions" ("custom_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "league_id" integer, "name" varchar(50) NOT NULL)
448113
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110901131551"]]
448114
+  (0.6ms) commit transaction
448115
+ Migrating to RenameLeagueIdForeignKeyOnDivisions (20110901142530)
448116
+  (0.1ms) begin transaction
448117
+  (0.2ms) CREATE TEMPORARY TABLE "adivisions" ("custom_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "custom_league_id" integer, "name" varchar(50) NOT NULL)
448118
+  (0.1ms) SELECT * FROM "divisions"
448119
+  (0.2ms) DROP TABLE "divisions"
448120
+  (0.1ms) CREATE TABLE "divisions" ("custom_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "custom_league_id" integer, "name" varchar(50) NOT NULL) 
448121
+  (0.1ms) SELECT * FROM "adivisions"
448122
+  (0.1ms) DROP TABLE "adivisions"
448123
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110901142530"]]
448124
+  (1.0ms) commit transaction
448125
+ Migrating to SetPrimaryKeyNotNullForDivisions (20110901150912)
448126
+  (0.1ms) begin transaction
448127
+  (0.3ms) DROP TABLE "divisions"
448128
+  (0.1ms) CREATE TABLE "divisions" ("created_at" datetime, "updated_at" datetime, "custom_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_league_id" integer, "name" varchar(50) NOT NULL)
448129
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110901150912"]]
448130
+  (0.9ms) commit transaction
448131
+ Migrating to ChangeLengthForRailsAdminHistories (20110901154834)
448132
+  (0.1ms) begin transaction
448133
+  (0.1ms) CREATE TEMPORARY TABLE "arails_admin_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar(255), "username" varchar(255), "item" integer, "table" varchar(255), "created_at" datetime, "updated_at" datetime)
448134
+  (0.1ms) CREATE INDEX "tindex_arails_admin_histories_on_item_and_table" ON "arails_admin_histories" ("item", "table")
448135
+  (0.1ms) SELECT * FROM "rails_admin_histories"
448136
+  (0.3ms) DROP TABLE "rails_admin_histories"
448137
+  (0.1ms) CREATE TABLE "rails_admin_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" text(255), "username" varchar(255), "item" integer, "table" varchar(255), "created_at" datetime, "updated_at" datetime)
448138
+  (0.1ms) CREATE INDEX "index_rails_admin_histories_on_item_and_table" ON "rails_admin_histories" ("item", "table")
448139
+  (0.1ms) SELECT * FROM "arails_admin_histories"
448140
+  (0.1ms) DROP TABLE "arails_admin_histories"
448141
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110901154834"]]
448142
+  (1.1ms) commit transaction
448143
+ Migrating to AddDragonflyAndCarrierwaveToFieldTests (20111108143642)
448144
+  (0.1ms) begin transaction
448145
+  (0.4ms) ALTER TABLE "field_tests" ADD "paperclip_asset_file_name" varchar(255)
448146
+  (0.1ms) ALTER TABLE "field_tests" ADD "dragonfly_asset_uid" varchar(255)
448147
+  (0.1ms) ALTER TABLE "field_tests" ADD "carrierwave_asset" varchar(255)
448148
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111108143642"]]
448149
+  (0.9ms) commit transaction
448150
+ Migrating to AddTypeToBalls (20111115041025)
448151
+  (0.1ms) begin transaction
448152
+  (0.3ms) ALTER TABLE "balls" ADD "type" varchar(255)
448153
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111115041025"]]
448154
+  (0.7ms) commit transaction
448155
+ Migrating to CreateNestedFieldTests (20111123092549)
448156
+  (0.1ms) begin transaction
448157
+  (0.3ms) CREATE TABLE "nested_field_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "field_test_id" integer, "created_at" datetime, "updated_at" datetime) 
448158
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111123092549"]]
448159
+  (0.9ms) commit transaction
448160
+ Migrating to AddDragonflyAssetNameToFieldTests (20111130075338)
448161
+  (0.1ms) begin transaction
448162
+  (0.3ms) ALTER TABLE "field_tests" ADD "dragonfly_asset_name" varchar(255)
448163
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111130075338"]]
448164
+  (1.0ms) commit transaction
448165
+ Migrating to CreateFooBars (20111215083258)
448166
+  (0.1ms) begin transaction
448167
+  (0.3ms) CREATE TABLE "foo_bars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
448168
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111215083258"]]
448169
+  (0.7ms) commit transaction
448170
+ Migrating to AddCustomFieldToTeams (20120117151733)
448171
+  (0.1ms) begin transaction
448172
+  (0.3ms) ALTER TABLE "teams" ADD "custom_field" varchar(255)
448173
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120117151733"]]
448174
+  (0.9ms) commit transaction
448175
+ Migrating to AddCategories (20120118122004)
448176
+  (0.1ms) begin transaction
448177
+  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_category_id" integer) 
448178
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120118122004"]]
448179
+  (0.8ms) commit transaction
448180
+ Migrating to DropRelTests (20120319041705)
448181
+  (0.1ms) begin transaction
448182
+  (0.3ms) DROP TABLE "rel_tests"
448183
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120319041705"]]
448184
+  (0.9ms) commit transaction
448185
+ Migrating to CreateAnotherFieldTests (20120720075608)
448186
+  (0.1ms) begin transaction
448187
+  (0.4ms) CREATE TABLE "another_field_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
448188
+  (0.1ms) ALTER TABLE "nested_field_tests" ADD "another_field_test_id" integer
448189
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120720075608"]]
448190
+  (1.0ms) commit transaction
448191
+ Migrating to CreateImages (20120928075608)
448192
+  (0.1ms) begin transaction
448193
+  (0.3ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_file_name" varchar(255), "file_content_type" varchar(255), "file_file_size" integer, "file_updated_at" datetime, "created_at" datetime, "updated_at" datetime)
448194
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120928075608"]]
448195
+  (0.8ms) commit transaction
448196
+  (0.1ms) begin transaction
448197
+  (0.0ms) commit transaction
448198
+  (0.0ms) begin transaction
448199
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448200
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448201
+ [paperclip] Saving attachments.
448202
+  (0.5ms) rollback transaction
448203
+  (0.1ms) begin transaction
448204
+  (0.0ms) commit transaction
448205
+  (0.0ms) begin transaction
448206
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448207
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448208
+ [paperclip] Saving attachments.
448209
+  (0.5ms) rollback transaction
448210
+  (0.1ms) begin transaction
448211
+  (0.0ms) commit transaction
448212
+  (0.0ms) begin transaction
448213
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448214
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448215
+ [paperclip] Saving attachments.
448216
+ SQL (1.2ms) INSERT INTO "field_tests" ("created_at", "date_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["date_field", Sun, 01 Jan 2012], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448217
+ [paperclip] Saving attachments.
448218
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "date_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["date_field", Mon, 02 Jan 2012], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448219
+ [paperclip] Saving attachments.
448220
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "date_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["date_field", Tue, 03 Jan 2012], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448221
+ [paperclip] Saving attachments.
448222
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "date_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["date_field", Wed, 04 Jan 2012], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448223
+ [paperclip] Saving attachments.
448224
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.date_field BETWEEN '2012-01-02' AND '2012-01-03'))
448225
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.date_field BETWEEN '2012-01-02' AND '2012-01-02'))
448226
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.date_field >= '2012-01-03'))
448227
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.date_field <= '2012-01-02'))
448228
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.date_field BETWEEN '2012-01-02' AND '2012-01-02'))
448229
+  (0.4ms) rollback transaction
448230
+  (0.1ms) begin transaction
448231
+  (0.1ms) commit transaction
448232
+  (0.0ms) begin transaction
448233
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448234
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448235
+ [paperclip] Saving attachments.
448236
+ SQL (0.4ms) INSERT INTO "field_tests" ("created_at", "datetime_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["datetime_field", Sun, 01 Jan 2012 22:59:59 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448237
+ [paperclip] Saving attachments.
448238
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "datetime_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["datetime_field", Sun, 01 Jan 2012 23:00:00 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448239
+ [paperclip] Saving attachments.
448240
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "datetime_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["datetime_field", Tue, 03 Jan 2012 22:59:59 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448241
+ [paperclip] Saving attachments.
448242
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "datetime_field", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["datetime_field", Tue, 03 Jan 2012 23:00:01 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448243
+ [paperclip] Saving attachments.
448244
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.datetime_field BETWEEN '2012-01-01 23:00:00.000000' AND '2012-01-03 22:59:59.999999'))
448245
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.datetime_field BETWEEN '2012-01-01 23:00:00.000000' AND '2012-01-02 22:59:59.999999'))
448246
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.datetime_field >= '2012-01-02 23:00:00.000000'))
448247
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.datetime_field <= '2012-01-02 22:59:59.999999'))
448248
+  (0.1ms) SELECT COUNT(*) FROM "field_tests" WHERE ((field_tests.datetime_field BETWEEN '2012-01-01 23:00:00.000000' AND '2012-01-02 22:59:59.999999'))
448249
+  (0.4ms) rollback transaction
448250
+  (0.1ms) begin transaction
448251
+  (0.0ms) commit transaction
448252
+  (0.0ms) begin transaction
448253
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448254
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448255
+ [paperclip] Saving attachments.
448256
+  (0.4ms) rollback transaction
448257
+  (0.1ms) begin transaction
448258
+  (0.0ms) commit transaction
448259
+  (0.0ms) begin transaction
448260
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448261
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448262
+ [paperclip] Saving attachments.
448263
+  (0.4ms) rollback transaction
448264
+  (0.1ms) begin transaction
448265
+  (0.0ms) commit transaction
448266
+  (0.1ms) begin transaction
448267
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448268
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448269
+ [paperclip] Saving attachments.
448270
+  (0.4ms) rollback transaction
448271
+  (0.1ms) begin transaction
448272
+  (0.1ms) commit transaction
448273
+  (0.0ms) begin transaction
448274
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448275
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448276
+ [paperclip] Saving attachments.
448277
+  (0.4ms) rollback transaction
448278
+  (0.1ms) begin transaction
448279
+  (0.0ms) commit transaction
448280
+  (0.0ms) begin transaction
448281
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448282
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448283
+ [paperclip] Saving attachments.
448284
+  (0.4ms) rollback transaction
448285
+  (0.1ms) begin transaction
448286
+  (0.0ms) commit transaction
448287
+  (0.0ms) begin transaction
448288
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448289
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448290
+ [paperclip] Saving attachments.
448291
+  (0.4ms) rollback transaction
448292
+  (0.1ms) begin transaction
448293
+  (0.0ms) commit transaction
448294
+  (0.0ms) begin transaction
448295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448296
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448297
+ [paperclip] Saving attachments.
448298
+  (0.4ms) rollback transaction
448299
+  (0.1ms) begin transaction
448300
+  (0.0ms) commit transaction
448301
+  (0.0ms) begin transaction
448302
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448303
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448304
+ [paperclip] Saving attachments.
448305
+  (0.4ms) rollback transaction
448306
+  (0.1ms) begin transaction
448307
+  (0.0ms) commit transaction
448308
+  (0.0ms) begin transaction
448309
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448310
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448311
+ [paperclip] Saving attachments.
448312
+  (0.4ms) rollback transaction
448313
+  (0.1ms) begin transaction
448314
+  (0.0ms) commit transaction
448315
+  (0.0ms) begin transaction
448316
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448317
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448318
+ [paperclip] Saving attachments.
448319
+  (0.3ms) rollback transaction
448320
+  (0.1ms) begin transaction
448321
+  (0.0ms) commit transaction
448322
+  (0.0ms) begin transaction
448323
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448324
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448325
+ [paperclip] Saving attachments.
448326
+  (0.4ms) rollback transaction
448327
+  (0.1ms) begin transaction
448328
+  (0.0ms) commit transaction
448329
+  (0.0ms) begin transaction
448330
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448331
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00]]
448332
+ [paperclip] Saving attachments.
448333
+ Started POST "/admin/player/new?player%5Bid%5D=1" for 127.0.0.1 at 2013-06-28 03:55:57 +0200
448334
+ SQL (0.7ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:55:57 UTC +00:00], ["roles", "--- []\n"]]
448335
+ [paperclip] Saving attachments.
448336
+ Processing by RailsAdmin::MainController#new as HTML
448337
+ Parameters: {"player"=>{"id"=>"1"}, "model_name"=>"player"}
448338
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" IS NULL AND "players"."team_id" IS NULL) LIMIT 1
448339
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448340
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448341
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (107.0ms)
448342
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (4.5ms)
448343
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448344
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (3.9ms)
448345
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (4.9ms)
448346
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448347
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (3.1ms)
448348
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (1.2ms)
448349
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448350
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448351
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448352
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (74.8ms)
448353
+ Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
448354
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448355
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448356
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (25.5ms)
448357
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (3.9ms)
448358
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/new.html.haml within layouts/rails_admin/application (266.9ms)
448359
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (11.3ms)
448360
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/pjax.html.haml (13.8ms)
448361
+ Completed 406 Not Acceptable in 8320ms (Views: 8156.2ms | ActiveRecord: 1.8ms)
448362
+  (0.7ms) rollback transaction
448363
+  (0.1ms) begin transaction
448364
+  (0.1ms) commit transaction
448365
+  (0.1ms) begin transaction
448366
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448367
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00]]
448368
+ [paperclip] Saving attachments.
448369
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:06 +0200
448370
+ SQL (0.7ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["roles", "--- []\n"]]
448371
+ [paperclip] Saving attachments.
448372
+ Processing by RailsAdmin::MainController#new as HTML
448373
+ Parameters: {"model_name"=>"player"}
448374
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448375
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448376
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (16.9ms)
448377
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448378
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448379
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448380
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448381
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448382
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (54.6ms)
448383
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.4ms)
448384
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448385
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448386
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448387
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (9.4ms)
448388
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448389
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448390
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (6.9ms)
448391
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.0ms)
448392
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (5.0ms)
448393
+ Completed 200 OK in 192ms (Views: 161.0ms | ActiveRecord: 0.7ms)
448394
+ Started POST "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:06 +0200
448395
+ Processing by RailsAdmin::MainController#new as HTML
448396
+ Parameters: {"utf8"=>"✓", "player"=>{"team_id"=>"", "name"=>"Jackie Robinson", "position"=>"Second baseman", "number"=>"42", "retired"=>"0", "injured"=>"0", "born_on"=>"", "notes"=>"", "suspended"=>"0", "draft_id"=>"", "comment_ids"=>["", ""]}, "return_to"=>"", "_add_another"=>"", "model_name"=>"player"}
448397
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448398
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 0 LIMIT 1
448399
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 42 AND "players"."team_id" IS NULL) LIMIT 1
448400
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "notes", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["name", "Jackie Robinson"], ["notes", ""], ["number", 42], ["position", "Second baseman"], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00]]
448401
+ SQL (0.4ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["item", 1], ["message", "new"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["username", "username@example.com"]]
448402
+ Redirected to http://www.example.com/admin/player/new?return_to=
448403
+ Completed 302 Found in 82ms (ActiveRecord: 1.3ms)
448404
+ Started GET "/admin/player/new?return_to=" for 127.0.0.1 at 2013-06-28 03:56:06 +0200
448405
+ Processing by RailsAdmin::MainController#new as HTML
448406
+ Parameters: {"return_to"=>"", "model_name"=>"player"}
448407
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448408
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448409
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (3.6ms)
448410
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448411
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448412
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448413
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448414
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448415
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.1ms)
448416
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.3ms)
448417
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448418
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448419
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (3.3ms)
448420
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448421
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (3.4ms)
448422
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.0ms)
448423
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.6ms)
448424
+ Completed 200 OK in 63ms (Views: 57.3ms | ActiveRecord: 0.5ms)
448425
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY "players"."id" ASC LIMIT 1
448426
+  (4.1ms) rollback transaction
448427
+  (0.9ms) begin transaction
448428
+  (0.6ms) commit transaction
448429
+  (0.5ms) begin transaction
448430
+ User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448431
+ SQL (2.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00]]
448432
+ [paperclip] Saving attachments.
448433
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:06 +0200
448434
+ SQL (2.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:06 UTC +00:00], ["roles", "--- []\n"]]
448435
+ [paperclip] Saving attachments.
448436
+ Processing by RailsAdmin::MainController#new as HTML
448437
+ Parameters: {"model_name"=>"player"}
448438
+  (0.2ms) SELECT COUNT(*) FROM "teams"
448439
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448440
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (29.1ms)
448441
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.5ms)
448442
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448443
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448444
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.5ms)
448445
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.5ms)
448446
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (72.8ms)
448447
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.5ms)
448448
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448449
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448450
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448451
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (12.1ms)
448452
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448453
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448454
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (8.6ms)
448455
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.5ms)
448456
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (5.7ms)
448457
+ Completed 200 OK in 312ms (Views: 228.5ms | ActiveRecord: 0.9ms)
448458
+ Started POST "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:07 +0200
448459
+ Processing by RailsAdmin::MainController#new as HTML
448460
+ Parameters: {"utf8"=>"✓", "player"=>{"team_id"=>"", "name"=>"Jackie Robinson on steroids", "position"=>"", "number"=>"", "retired"=>"0", "injured"=>"0", "born_on"=>"", "notes"=>"", "suspended"=>"0", "draft_id"=>"", "comment_ids"=>["", ""]}, "return_to"=>"", "_add_another"=>"", "model_name"=>"player"}
448461
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448462
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 0 LIMIT 1
448463
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" IS NULL AND "players"."team_id" IS NULL) LIMIT 1
448464
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448465
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (4.0ms)
448466
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448467
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448468
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448469
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448470
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448471
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.3ms)
448472
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.4ms)
448473
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448474
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448475
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (3.4ms)
448476
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448477
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (3.6ms)
448478
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.1ms)
448479
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.7ms)
448480
+ Completed 406 Not Acceptable in 77ms (Views: 63.4ms | ActiveRecord: 0.7ms)
448481
+  (1.6ms) rollback transaction
448482
+  (0.2ms) begin transaction
448483
+  (0.1ms) commit transaction
448484
+  (0.1ms) begin transaction
448485
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448486
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448487
+ [paperclip] Saving attachments.
448488
+ SQL (0.6ms) INSERT INTO "teams" ("created_at", "division_id", "founded", "losses", "manager", "name", "updated_at", "win_percentage", "wins") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["division_id", 1], ["founded", 1], ["losses", 1], ["manager", "Manager 1"], ["name", "Team 1"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["win_percentage", 1.0], ["wins", 1]]
448489
+ Player Exists (0.2ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 1 AND "players"."team_id" = 1) LIMIT 1
448490
+ SQL (0.4ms) INSERT INTO "players" ("created_at", "name", "number", "position", "team_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["name", "Player 1"], ["number", 1], ["position", "Position 1"], ["team_id", 1], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448491
+ Started POST "/admin/player/new?player%5Bname%5D=Player+1&player%5Bnumber%5D=1&player%5Bposition%5D=Position+1&player%5Bteam_id%5D=1" for 127.0.0.1 at 2013-06-28 03:56:07 +0200
448492
+ SQL (0.8ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["roles", "--- []\n"]]
448493
+ [paperclip] Saving attachments.
448494
+ Processing by RailsAdmin::MainController#new as HTML
448495
+ Parameters: {"player"=>{"name"=>"Player 1", "number"=>"1", "position"=>"Position 1", "team_id"=>"1"}, "model_name"=>"player"}
448496
+ Player Exists (0.2ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 1 AND "players"."team_id" = 1) LIMIT 1
448497
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" WHERE "teams"."id" = ? ORDER BY "teams"."id" ASC LIMIT 1 [["id", 1]]
448498
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448499
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448500
+ Division Load (0.2ms) SELECT "divisions".* FROM "divisions" WHERE "divisions"."custom_id" IN (1)
448501
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (38.4ms)
448502
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448503
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448504
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448505
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448506
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448507
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.2ms)
448508
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.3ms)
448509
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448510
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448511
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448512
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (9.1ms)
448513
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448514
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448515
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (6.9ms)
448516
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.0ms)
448517
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (4.9ms)
448518
+ Completed 406 Not Acceptable in 227ms (Views: 116.1ms | ActiveRecord: 1.3ms)
448519
+  (0.5ms) rollback transaction
448520
+  (0.1ms) begin transaction
448521
+  (0.0ms) commit transaction
448522
+  (0.0ms) begin transaction
448523
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448524
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448525
+ [paperclip] Saving attachments.
448526
+ SQL (0.3ms) INSERT INTO "teams" ("created_at", "division_id", "founded", "losses", "manager", "name", "updated_at", "win_percentage", "wins") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["division_id", 2], ["founded", 2], ["losses", 2], ["manager", "Manager 2"], ["name", "Team 2"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["win_percentage", 2.0], ["wins", 2]]
448527
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 2 AND "players"."team_id" IS NULL) LIMIT 1
448528
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["name", "Player 2"], ["number", 2], ["position", "Position 2"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448529
+ SQL (0.3ms) INSERT INTO "drafts" ("college", "created_at", "date", "overall", "pick", "player_id", "round", "team_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["college", "College 1"], ["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["date", Fri, 21 Jun 2013], ["overall", 1], ["pick", 1], ["player_id", 1], ["round", 1], ["team_id", 1], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448530
+ Started POST "/admin/player/new?player%5Bdraft_id%5D=1&player%5Bname%5D=Jackie+Robinson&player%5Bnumber%5D=42&player%5Bposition%5D=Second+baseman" for 127.0.0.1 at 2013-06-28 03:56:07 +0200
448531
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["roles", "--- []\n"]]
448532
+ [paperclip] Saving attachments.
448533
+ Processing by RailsAdmin::MainController#new as HTML
448534
+ Parameters: {"player"=>{"draft_id"=>"1", "name"=>"Jackie Robinson", "number"=>"42", "position"=>"Second baseman"}, "model_name"=>"player"}
448535
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 1 LIMIT 1
448536
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 42 AND "players"."team_id" IS NULL) LIMIT 1
448537
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["name", "Jackie Robinson"], ["number", 42], ["position", "Second baseman"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448538
+ SQL (0.2ms) UPDATE "drafts" SET "player_id" = ?, "updated_at" = ? WHERE "drafts"."id" = 1 [["player_id", 2], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448539
+ SQL (0.2ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["item", 2], ["message", "new"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["username", "username@example.com"]]
448540
+ Redirected to http://www.example.com/admin/player
448541
+ Completed 302 Found in 99ms (ActiveRecord: 1.0ms)
448542
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY "players"."id" DESC LIMIT 1
448543
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = ? LIMIT 1 [["id", 1]]
448544
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 2]]
448545
+  (1.5ms) rollback transaction
448546
+  (0.1ms) begin transaction
448547
+  (0.1ms) commit transaction
448548
+  (0.1ms) begin transaction
448549
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448550
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00]]
448551
+ [paperclip] Saving attachments.
448552
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:07 +0200
448553
+ SQL (0.6ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:07 UTC +00:00], ["roles", "--- []\n"]]
448554
+ [paperclip] Saving attachments.
448555
+ Processing by RailsAdmin::MainController#new as HTML
448556
+ Parameters: {"model_name"=>"player"}
448557
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448558
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448559
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (15.1ms)
448560
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448561
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448562
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448563
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448564
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448565
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (59.2ms)
448566
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.5ms)
448567
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
448568
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448569
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448570
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (10.6ms)
448571
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448572
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448573
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (7.7ms)
448574
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.1ms)
448575
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (5.3ms)
448576
+ Completed 200 OK in 210ms (Views: 173.9ms | ActiveRecord: 0.7ms)
448577
+ Started POST "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448578
+ Processing by RailsAdmin::MainController#new as HTML
448579
+ Parameters: {"utf8"=>"✓", "player"=>{"team_id"=>"", "name"=>"Jackie Robinson", "position"=>"Second baseman", "number"=>"42", "retired"=>"0", "injured"=>"0", "born_on"=>"", "notes"=>"", "suspended"=>"0", "draft_id"=>"", "comment_ids"=>["", ""]}, "return_to"=>"", "_save"=>"", "model_name"=>"player"}
448580
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448581
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 0 LIMIT 1
448582
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 42 AND "players"."team_id" IS NULL) LIMIT 1
448583
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "notes", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "Jackie Robinson"], ["notes", ""], ["number", 42], ["position", "Second baseman"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448584
+ SQL (0.2ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["item", 1], ["message", "new"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["username", "username@example.com"]]
448585
+ Redirected to http://www.example.com/admin/player
448586
+ Completed 302 Found in 17ms (ActiveRecord: 1.0ms)
448587
+ Started GET "/admin/player" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448588
+ Processing by RailsAdmin::MainController#index as HTML
448589
+ Parameters: {"model_name"=>"player"}
448590
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448591
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY players.id desc LIMIT 20 OFFSET 0
448592
+  (0.4ms) SELECT COUNT(*) FROM "players"
448593
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (8.1ms)
448594
+ Completed 200 OK in 281ms (Views: 272.5ms | ActiveRecord: 0.8ms)
448595
+ Player Load (0.3ms) SELECT "players".* FROM "players" ORDER BY "players"."id" ASC LIMIT 1
448596
+  (1.9ms) rollback transaction
448597
+  (0.2ms) begin transaction
448598
+  (0.1ms) commit transaction
448599
+  (0.1ms) begin transaction
448600
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448601
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448602
+ [paperclip] Saving attachments.
448603
+ SQL (0.5ms) INSERT INTO "teams" ("created_at", "division_id", "founded", "losses", "manager", "name", "updated_at", "win_percentage", "wins") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["division_id", 3], ["founded", 3], ["losses", 3], ["manager", "Manager 3"], ["name", "Team 3"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["win_percentage", 3.0], ["wins", 3]]
448604
+ SQL (0.4ms) INSERT INTO "teams" ("created_at", "division_id", "founded", "losses", "manager", "name", "updated_at", "win_percentage", "wins") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["division_id", 4], ["founded", 4], ["losses", 4], ["manager", "Manager 4"], ["name", "Team 4"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["win_percentage", 4.0], ["wins", 4]]
448605
+ SQL (0.4ms) INSERT INTO "teams" ("created_at", "division_id", "founded", "losses", "manager", "name", "updated_at", "win_percentage", "wins") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["division_id", 5], ["founded", 5], ["losses", 5], ["manager", "Manager 5"], ["name", "Team 5"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["win_percentage", 5.0], ["wins", 5]]
448606
+ Started POST "/admin/fan/new?fan%5Bname%5D=John+Doe&fan%5Bteam_ids%5D%5B%5D=1" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448607
+ SQL (0.8ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["roles", "--- []\n"]]
448608
+ [paperclip] Saving attachments.
448609
+ Processing by RailsAdmin::MainController#new as HTML
448610
+ Parameters: {"fan"=>{"name"=>"John Doe", "team_ids"=>["1"]}, "model_name"=>"fan"}
448611
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" WHERE "teams"."id" = ? LIMIT 1 [["id", 1]]
448612
+ SQL (0.4ms) INSERT INTO "fans" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "John Doe"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448613
+  (0.1ms) INSERT INTO "fans_teams" ("fan_id", "team_id") VALUES (1, 1)
448614
+ SQL (0.3ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["item", 1], ["message", "new"], ["table", "Fan"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["username", "username@example.com"]]
448615
+ Redirected to http://www.example.com/admin/fan
448616
+ Completed 302 Found in 143ms (ActiveRecord: 1.6ms)
448617
+ Fan Load (0.1ms) SELECT "fans".* FROM "fans" ORDER BY "fans"."id" ASC LIMIT 1
448618
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" WHERE "teams"."id" = ? LIMIT 1 [["id", 1]]
448619
+ Team Exists (0.2ms) SELECT 1 AS one FROM "teams" INNER JOIN "fans_teams" ON "teams"."id" = "fans_teams"."team_id" WHERE "fans_teams"."fan_id" = ? AND "teams"."id" = 1 LIMIT 1 [["fan_id", 1]]
448620
+ Team Exists (0.1ms) SELECT 1 AS one FROM "teams" INNER JOIN "fans_teams" ON "teams"."id" = "fans_teams"."team_id" WHERE "fans_teams"."fan_id" = ? AND "teams"."id" = 2 LIMIT 1 [["fan_id", 1]]
448621
+ Team Exists (0.1ms) SELECT 1 AS one FROM "teams" INNER JOIN "fans_teams" ON "teams"."id" = "fans_teams"."team_id" WHERE "fans_teams"."fan_id" = ? AND "teams"."id" = 3 LIMIT 1 [["fan_id", 1]]
448622
+  (0.5ms) rollback transaction
448623
+  (0.1ms) begin transaction
448624
+  (0.1ms) commit transaction
448625
+  (0.1ms) begin transaction
448626
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448627
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448628
+ [paperclip] Saving attachments.
448629
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448630
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["roles", "--- []\n"]]
448631
+ [paperclip] Saving attachments.
448632
+ Processing by RailsAdmin::MainController#new as HTML
448633
+ Parameters: {"model_name"=>"player"}
448634
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448635
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448636
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (14.4ms)
448637
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448638
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448639
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448640
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448641
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448642
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.0ms)
448643
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.3ms)
448644
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448645
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448646
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448647
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (8.1ms)
448648
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448649
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448650
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (6.2ms)
448651
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (0.9ms)
448652
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (54.9ms)
448653
+ Completed 200 OK in 179ms (Views: 153.3ms | ActiveRecord: 0.6ms)
448654
+ Started POST "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448655
+ Processing by RailsAdmin::MainController#new as HTML
448656
+ Parameters: {"utf8"=>"✓", "player"=>{"team_id"=>"", "name"=>"Jackie Robinson", "position"=>"Second baseman", "number"=>"42", "retired"=>"0", "injured"=>"0", "born_on"=>"", "notes"=>"", "suspended"=>"0", "draft_id"=>"", "comment_ids"=>["", ""]}, "return_to"=>"", "_add_edit"=>"", "model_name"=>"player"}
448657
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448658
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 0 LIMIT 1
448659
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 42 AND "players"."team_id" IS NULL) LIMIT 1
448660
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "notes", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "Jackie Robinson"], ["notes", ""], ["number", 42], ["position", "Second baseman"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448661
+ SQL (0.2ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["item", 1], ["message", "new"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["username", "username@example.com"]]
448662
+ Redirected to http://www.example.com/admin/player/1/edit?return_to=
448663
+ Completed 302 Found in 17ms (ActiveRecord: 0.9ms)
448664
+ Started GET "/admin/player/1/edit?return_to=" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448665
+ Processing by RailsAdmin::MainController#edit as HTML
448666
+ Parameters: {"return_to"=>"", "model_name"=>"player", "id"=>"1"}
448667
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448668
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
448669
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
448670
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (4.4ms)
448671
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448672
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448673
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448674
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448675
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448676
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.3ms)
448677
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.3ms)
448678
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448679
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
448680
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
448681
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (4.4ms)
448682
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
448683
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
448684
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (4.2ms)
448685
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.1ms)
448686
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.8ms)
448687
+ Completed 200 OK in 133ms (Views: 125.5ms | ActiveRecord: 0.8ms)
448688
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY "players"."id" ASC LIMIT 1
448689
+  (1.6ms) rollback transaction
448690
+  (0.1ms) begin transaction
448691
+  (0.1ms) commit transaction
448692
+  (0.1ms) begin transaction
448693
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448694
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448695
+ [paperclip] Saving attachments.
448696
+ SQL (0.3ms) INSERT INTO "leagues" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "league 1372384568.909749"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448697
+ SQL (0.3ms) INSERT INTO "divisions" ("created_at", "custom_league_id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["custom_league_id", 1], ["name", "div 1372384568.909735"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448698
+ SQL (0.2ms) INSERT INTO "leagues" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "league 1372384568.925698"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448699
+ SQL (0.2ms) INSERT INTO "divisions" ("created_at", "custom_league_id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["custom_league_id", 2], ["name", "div 1372384568.925687"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448700
+ SQL (0.1ms) INSERT INTO "leagues" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "league 1372384568.9283369"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448701
+ SQL (0.2ms) INSERT INTO "divisions" ("created_at", "custom_league_id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["custom_league_id", 3], ["name", "div 1372384568.9283268"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448702
+ Started POST "/admin/league/new?league%5Bdivision_ids%5D%5B%5D=1&league%5Bname%5D=National+League" for 127.0.0.1 at 2013-06-28 03:56:08 +0200
448703
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["roles", "--- []\n"]]
448704
+ [paperclip] Saving attachments.
448705
+ Processing by RailsAdmin::MainController#new as HTML
448706
+ Parameters: {"league"=>{"division_ids"=>["1"], "name"=>"National League"}, "model_name"=>"league"}
448707
+ Division Load (0.2ms) SELECT "divisions".* FROM "divisions" WHERE "divisions"."custom_id" = ? LIMIT 1 [["custom_id", 1]]
448708
+ SQL (0.2ms) INSERT INTO "leagues" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "National League"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448709
+ SQL (0.2ms) UPDATE "divisions" SET "custom_league_id" = ?, "updated_at" = ? WHERE "divisions"."custom_id" = 1 [["custom_league_id", 4], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448710
+ SQL (0.2ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["item", 4], ["message", "new"], ["table", "League"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["username", "username@example.com"]]
448711
+ Redirected to http://www.example.com/admin/league
448712
+ Completed 302 Found in 46ms (ActiveRecord: 0.8ms)
448713
+ League Load (0.1ms) SELECT "leagues".* FROM "leagues" ORDER BY "leagues"."id" DESC LIMIT 1
448714
+ Division Load (0.1ms) SELECT "divisions".* FROM "divisions" WHERE "divisions"."custom_id" = ? LIMIT 1 [["custom_id", 1]]
448715
+ Division Exists (0.1ms) SELECT 1 AS one FROM "divisions" WHERE "divisions"."custom_league_id" = ? AND "divisions"."custom_id" = 1 LIMIT 1 [["custom_league_id", 4]]
448716
+ Division Exists (0.1ms) SELECT 1 AS one FROM "divisions" WHERE "divisions"."custom_league_id" = ? AND "divisions"."custom_id" = 2 LIMIT 1 [["custom_league_id", 4]]
448717
+ Division Exists (0.1ms) SELECT 1 AS one FROM "divisions" WHERE "divisions"."custom_league_id" = ? AND "divisions"."custom_id" = 3 LIMIT 1 [["custom_league_id", 4]]
448718
+  (0.5ms) rollback transaction
448719
+  (0.1ms) begin transaction
448720
+  (0.0ms) commit transaction
448721
+  (0.0ms) begin transaction
448722
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448723
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448724
+ [paperclip] Saving attachments.
448725
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 3 AND "players"."team_id" IS NULL) LIMIT 1
448726
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00], ["name", "Player 3"], ["number", 3], ["position", "Position 3"], ["updated_at", Fri, 28 Jun 2013 01:56:08 UTC +00:00]]
448727
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 4 AND "players"."team_id" IS NULL) LIMIT 1
448728
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["name", "Player 4"], ["number", 4], ["position", "Position 4"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448729
+ Started POST "/admin/player/bulk_action?bulk_action=bulk_delete&bulk_ids%5B%5D=1&bulk_ids%5B%5D=2" for 127.0.0.1 at 2013-06-28 03:56:09 +0200
448730
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["roles", "--- []\n"]]
448731
+ [paperclip] Saving attachments.
448732
+ Processing by RailsAdmin::MainController#bulk_action as HTML
448733
+ Parameters: {"bulk_action"=>"bulk_delete", "bulk_ids"=>["1", "2"], "model_name"=>"player"}
448734
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" IN (1, 2) ORDER BY players.id desc
448735
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 2]]
448736
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 2], ["commentable_type", "Player"]]
448737
+ Draft Load (0.0ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
448738
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
448739
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (7.3ms)
448740
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (4.4ms)
448741
+ Completed 200 OK in 129ms (Views: 49.4ms | ActiveRecord: 0.5ms)
448742
+  (1.6ms) rollback transaction
448743
+  (0.1ms) begin transaction
448744
+  (0.0ms) commit transaction
448745
+  (0.0ms) begin transaction
448746
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448747
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448748
+ [paperclip] Saving attachments.
448749
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 5 AND "players"."team_id" IS NULL) LIMIT 1
448750
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["name", "Player 5"], ["number", 5], ["position", "Position 5"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448751
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 6 AND "players"."team_id" IS NULL) LIMIT 1
448752
+ SQL (0.1ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["name", "Player 6"], ["number", 6], ["position", "Position 6"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448753
+ Started GET "/admin/player" for 127.0.0.1 at 2013-06-28 03:56:09 +0200
448754
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["roles", "--- []\n"]]
448755
+ [paperclip] Saving attachments.
448756
+ Processing by RailsAdmin::MainController#index as HTML
448757
+ Parameters: {"model_name"=>"player"}
448758
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY players.id desc LIMIT 20 OFFSET 0
448759
+  (0.1ms) SELECT COUNT(*) FROM "players"
448760
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (5.1ms)
448761
+ Completed 200 OK in 166ms (Views: 137.1ms | ActiveRecord: 0.3ms)
448762
+ Started GET "/admin/player/export" for 127.0.0.1 at 2013-06-28 03:56:09 +0200
448763
+ Processing by RailsAdmin::MainController#export as HTML
448764
+ Parameters: {"model_name"=>"player"}
448765
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
448766
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (3.2ms)
448767
+ Completed 200 OK in 177ms (Views: 170.9ms | ActiveRecord: 0.2ms)
448768
+  (0.7ms) rollback transaction
448769
+  (0.2ms) begin transaction
448770
+  (0.1ms) commit transaction
448771
+  (0.1ms) begin transaction
448772
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448773
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448774
+ [paperclip] Saving attachments.
448775
+  (0.6ms) rollback transaction
448776
+  (0.1ms) begin transaction
448777
+  (0.1ms) commit transaction
448778
+  (0.1ms) begin transaction
448779
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448780
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448781
+ [paperclip] Saving attachments.
448782
+  (0.5ms) rollback transaction
448783
+  (0.1ms) begin transaction
448784
+  (0.1ms) commit transaction
448785
+  (0.1ms) begin transaction
448786
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448787
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448788
+ [paperclip] Saving attachments.
448789
+  (0.5ms) rollback transaction
448790
+  (0.1ms) begin transaction
448791
+  (0.1ms) commit transaction
448792
+  (0.1ms) begin transaction
448793
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448794
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448795
+ [paperclip] Saving attachments.
448796
+ SQL (0.4ms) INSERT INTO "field_tests" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:56:09 UTC +00:00]]
448797
+ [paperclip] Saving attachments.
448798
+  (0.5ms) rollback transaction
448799
+  (0.1ms) begin transaction
448800
+  (0.1ms) commit transaction
448801
+  (0.1ms) begin transaction
448802
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448803
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448804
+ [paperclip] Saving attachments.
448805
+  (0.4ms) rollback transaction
448806
+  (0.1ms) begin transaction
448807
+  (0.1ms) commit transaction
448808
+  (0.1ms) begin transaction
448809
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448810
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448811
+ [paperclip] Saving attachments.
448812
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448813
+ [paperclip] Saving attachments.
448814
+  (0.5ms) rollback transaction
448815
+  (0.1ms) begin transaction
448816
+  (0.1ms) commit transaction
448817
+  (0.1ms) begin transaction
448818
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448819
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448820
+ [paperclip] Saving attachments.
448821
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448822
+ [paperclip] Saving attachments.
448823
+  (0.5ms) rollback transaction
448824
+  (0.1ms) begin transaction
448825
+  (0.1ms) commit transaction
448826
+  (0.0ms) begin transaction
448827
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448828
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448829
+ [paperclip] Saving attachments.
448830
+ SQL (0.2ms) INSERT INTO "field_tests" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448831
+ [paperclip] Saving attachments.
448832
+  (0.4ms) rollback transaction
448833
+  (0.1ms) begin transaction
448834
+  (0.0ms) commit transaction
448835
+  (0.0ms) begin transaction
448836
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448837
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448838
+ [paperclip] Saving attachments.
448839
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_1@example.com' LIMIT 1
448840
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_1@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448841
+ [paperclip] Saving attachments.
448842
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :test_exception\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448843
+ [paperclip] Saving attachments.
448844
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 7 AND "players"."team_id" IS NULL) LIMIT 1
448845
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Player 7"], ["number", 7], ["position", "Position 7"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448846
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 8 AND "players"."team_id" IS NULL) LIMIT 1
448847
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Player 8"], ["number", 8], ["position", "Position 8"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448848
+ Started POST "/admin/player/bulk_action?bulk_action=bulk_delete&bulk_ids%5B%5D=1&bulk_ids%5B%5D=2" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448849
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448850
+ [paperclip] Saving attachments.
448851
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "---\n- :admin\n- :test_exception\n"]]
448852
+ [paperclip] Saving attachments.
448853
+ Processing by RailsAdmin::MainController#bulk_action as HTML
448854
+ Parameters: {"bulk_action"=>"bulk_delete", "bulk_ids"=>["1", "2"], "model_name"=>"player"}
448855
+ Player Load (0.3ms) SELECT "players".* FROM "players" WHERE "players"."id" IN (1, 2) AND ("players"."retired" = 'f') ORDER BY players.id desc
448856
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
448857
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
448858
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (3.0ms)
448859
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (4.8ms)
448860
+ Completed 200 OK in 130ms (Views: 43.5ms | ActiveRecord: 0.4ms)
448861
+  (1.6ms) rollback transaction
448862
+  (0.1ms) begin transaction
448863
+  (0.0ms) commit transaction
448864
+  (0.0ms) begin transaction
448865
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448866
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448867
+ [paperclip] Saving attachments.
448868
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_2@example.com' LIMIT 1
448869
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_2@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448870
+ [paperclip] Saving attachments.
448871
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :test_exception\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448872
+ [paperclip] Saving attachments.
448873
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 9 AND "players"."team_id" IS NULL) LIMIT 1
448874
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Player 9"], ["number", 9], ["position", "Position 9"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448875
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 10 AND "players"."team_id" IS NULL) LIMIT 1
448876
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Player 10"], ["number", 10], ["position", "Position 10"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448877
+ Started DELETE "/admin/player/bulk_delete?bulk_ids%5B%5D=1&bulk_ids%5B%5D=2" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448878
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448879
+ [paperclip] Saving attachments.
448880
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "---\n- :admin\n- :test_exception\n"]]
448881
+ [paperclip] Saving attachments.
448882
+ Processing by RailsAdmin::MainController#bulk_delete as HTML
448883
+ Parameters: {"bulk_ids"=>["1", "2"], "model_name"=>"player"}
448884
+ Player Load (0.3ms) SELECT "players".* FROM "players" WHERE "players"."id" IN (1, 2) AND ("players"."retired" = 'f') ORDER BY players.id desc
448885
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
448886
+ SQL (0.1ms) DELETE FROM "players" WHERE "players"."id" = ? [["id", 1]]
448887
+ SQL (0.3ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["item", 1], ["message", "delete"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["username", "username_2@example.com"]]
448888
+ Redirected to http://www.example.com/admin/player
448889
+ Completed 302 Found in 34ms (ActiveRecord: 0.7ms)
448890
+ Player Load (0.1ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
448891
+ Player Load (0.1ms) SELECT "players".* FROM "players" WHERE "players"."id" = 2 ORDER BY "players"."id" ASC LIMIT 1
448892
+  (0.4ms) rollback transaction
448893
+  (0.1ms) begin transaction
448894
+  (0.0ms) commit transaction
448895
+  (0.0ms) begin transaction
448896
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448897
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448898
+ [paperclip] Saving attachments.
448899
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_3@example.com' LIMIT 1
448900
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_3@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448901
+ [paperclip] Saving attachments.
448902
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :create_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448903
+ [paperclip] Saving attachments.
448904
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448905
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448906
+ [paperclip] Saving attachments.
448907
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :create_player\n"]]
448908
+ [paperclip] Saving attachments.
448909
+ Processing by RailsAdmin::MainController#new as HTML
448910
+ Parameters: {"model_name"=>"player"}
448911
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448912
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" WHERE ('t'='f') ORDER BY teams.id desc
448913
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (11.0ms)
448914
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448915
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448916
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448917
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
448918
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448919
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (1.8ms)
448920
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.3ms)
448921
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
448922
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
448923
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE ('t'='f') ORDER BY drafts.id desc
448924
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (6.4ms)
448925
+  (0.1ms) SELECT COUNT(*) FROM "comments"
448926
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE ('t'='f') ORDER BY comments.id desc
448927
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (5.4ms)
448928
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (0.8ms)
448929
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (1.7ms)
448930
+ Completed 200 OK in 136ms (Views: 63.3ms | ActiveRecord: 0.6ms)
448931
+ Started POST "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448932
+ Processing by RailsAdmin::MainController#new as HTML
448933
+ Parameters: {"utf8"=>"✓", "player"=>{"team_id"=>"", "name"=>"Jackie Robinson", "position"=>"Second baseman", "number"=>"42", "retired"=>"0", "injured"=>"0", "born_on"=>"", "notes"=>"", "suspended"=>"1", "draft_id"=>"", "comment_ids"=>["", ""]}, "return_to"=>"", "_save"=>"", "model_name"=>"player"}
448934
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
448935
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."id" = 0 LIMIT 1
448936
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 42 AND "players"."team_id" IS NULL) LIMIT 1
448937
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "notes", "number", "position", "suspended", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Jackie Robinson"], ["notes", ""], ["number", 42], ["position", "Second baseman"], ["suspended", true], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448938
+ SQL (0.2ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["item", 1], ["message", "new"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["username", "username_3@example.com"]]
448939
+ Redirected to http://www.example.com/admin/player
448940
+ Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
448941
+ Started GET "/admin/player" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448942
+ Processing by RailsAdmin::MainController#index as HTML
448943
+ Parameters: {"model_name"=>"player"}
448944
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
448945
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."retired" = 'f' ORDER BY players.id desc LIMIT 20 OFFSET 0
448946
+  (0.1ms) SELECT COUNT(*) FROM "players" WHERE "players"."retired" = 'f'
448947
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (1.7ms)
448948
+ Completed 200 OK in 81ms (Views: 74.4ms | ActiveRecord: 0.4ms)
448949
+ Player Load (0.2ms) SELECT "players".* FROM "players" ORDER BY "players"."id" ASC LIMIT 1
448950
+  (1.6ms) rollback transaction
448951
+  (0.1ms) begin transaction
448952
+  (0.0ms) commit transaction
448953
+  (0.0ms) begin transaction
448954
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448955
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448956
+ [paperclip] Saving attachments.
448957
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_4@example.com' LIMIT 1
448958
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_4@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448959
+ [paperclip] Saving attachments.
448960
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :create_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448961
+ [paperclip] Saving attachments.
448962
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 11 AND "players"."team_id" IS NULL) LIMIT 1
448963
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["name", "Player 11"], ["number", 11], ["position", "Position 11"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448964
+ Started GET "/admin/player/1/edit" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448965
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448966
+ [paperclip] Saving attachments.
448967
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :create_player\n"]]
448968
+ [paperclip] Saving attachments.
448969
+ Processing by RailsAdmin::MainController#edit as HTML
448970
+ Parameters: {"model_name"=>"player", "id"=>"1"}
448971
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
448972
+ Completed 500 Internal Server Error in 70ms
448973
+  (0.4ms) rollback transaction
448974
+  (0.1ms) begin transaction
448975
+  (0.0ms) commit transaction
448976
+  (0.0ms) begin transaction
448977
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
448978
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448979
+ [paperclip] Saving attachments.
448980
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_5@example.com' LIMIT 1
448981
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_5@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448982
+ [paperclip] Saving attachments.
448983
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_6@example.com' LIMIT 1
448984
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["email", "username_6@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448985
+ [paperclip] Saving attachments.
448986
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00]]
448987
+ [paperclip] Saving attachments.
448988
+ Started GET "/admin/team" for 127.0.0.1 at 2013-06-28 03:56:10 +0200
448989
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448990
+ [paperclip] Saving attachments.
448991
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "--- []\n"]]
448992
+ [paperclip] Saving attachments.
448993
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:10 UTC +00:00], ["roles", "---\n- :admin\n"]]
448994
+ [paperclip] Saving attachments.
448995
+ Processing by RailsAdmin::MainController#index as HTML
448996
+ Parameters: {"model_name"=>"team"}
448997
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc LIMIT 20 OFFSET 0
448998
+  (0.1ms) SELECT COUNT(*) FROM "teams"
448999
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (4.9ms)
449000
+ Completed 200 OK in 91ms (Views: 59.3ms | ActiveRecord: 0.2ms)
449001
+  (1.7ms) rollback transaction
449002
+  (0.1ms) begin transaction
449003
+  (0.0ms) commit transaction
449004
+  (0.0ms) begin transaction
449005
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449006
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449007
+ [paperclip] Saving attachments.
449008
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_7@example.com' LIMIT 1
449009
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_7@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449010
+ [paperclip] Saving attachments.
449011
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_8@example.com' LIMIT 1
449012
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_8@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449013
+ [paperclip] Saving attachments.
449014
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449015
+ [paperclip] Saving attachments.
449016
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 12 AND "players"."team_id" IS NULL) LIMIT 1
449017
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["name", "Player 12"], ["number", 12], ["position", "Position 12"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449018
+ Started GET "/admin/player/1/delete" for 127.0.0.1 at 2013-06-28 03:56:11 +0200
449019
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449020
+ [paperclip] Saving attachments.
449021
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449022
+ [paperclip] Saving attachments.
449023
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "---\n- :admin\n"]]
449024
+ [paperclip] Saving attachments.
449025
+ Processing by RailsAdmin::MainController#delete as HTML
449026
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449027
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449028
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449029
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449030
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (5.8ms)
449031
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (5.1ms)
449032
+ Completed 200 OK in 80ms (Views: 56.8ms | ActiveRecord: 0.3ms)
449033
+  (1.5ms) rollback transaction
449034
+  (0.1ms) begin transaction
449035
+  (0.0ms) commit transaction
449036
+  (0.0ms) begin transaction
449037
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449038
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449039
+ [paperclip] Saving attachments.
449040
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_9@example.com' LIMIT 1
449041
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_9@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449042
+ [paperclip] Saving attachments.
449043
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_10@example.com' LIMIT 1
449044
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_10@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449045
+ [paperclip] Saving attachments.
449046
+ SQL (0.3ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449047
+ [paperclip] Saving attachments.
449048
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 13 AND "players"."team_id" IS NULL) LIMIT 1
449049
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["name", "Player 13"], ["number", 13], ["position", "Position 13"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449050
+ Started GET "/admin/player/1/edit" for 127.0.0.1 at 2013-06-28 03:56:11 +0200
449051
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449052
+ [paperclip] Saving attachments.
449053
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449054
+ [paperclip] Saving attachments.
449055
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "---\n- :admin\n"]]
449056
+ [paperclip] Saving attachments.
449057
+ Processing by RailsAdmin::MainController#edit as HTML
449058
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449059
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449060
+  (0.1ms) SELECT COUNT(*) FROM "teams"
449061
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
449062
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (16.4ms)
449063
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.5ms)
449064
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449065
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449066
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449067
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449068
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (3.1ms)
449069
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.5ms)
449070
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449071
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449072
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
449073
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
449074
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (15.6ms)
449075
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449076
+  (0.1ms) SELECT COUNT(*) FROM "comments"
449077
+ Comment Load (0.2ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
449078
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (12.1ms)
449079
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.5ms)
449080
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (7.5ms)
449081
+ Completed 200 OK in 248ms (Views: 145.7ms | ActiveRecord: 1.3ms)
449082
+  (0.5ms) rollback transaction
449083
+  (0.2ms) begin transaction
449084
+  (0.1ms) commit transaction
449085
+  (0.1ms) begin transaction
449086
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449087
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449088
+ [paperclip] Saving attachments.
449089
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_11@example.com' LIMIT 1
449090
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_11@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449091
+ [paperclip] Saving attachments.
449092
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_12@example.com' LIMIT 1
449093
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_12@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449094
+ [paperclip] Saving attachments.
449095
+ SQL (0.5ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449096
+ [paperclip] Saving attachments.
449097
+ Player Exists (0.2ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 14 AND "players"."team_id" IS NULL) LIMIT 1
449098
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["name", "Player 14"], ["number", 14], ["position", "Position 14"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449099
+ Started GET "/admin/player/1/delete" for 127.0.0.1 at 2013-06-28 03:56:11 +0200
449100
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449101
+ [paperclip] Saving attachments.
449102
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449103
+ [paperclip] Saving attachments.
449104
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "---\n- :admin\n"]]
449105
+ [paperclip] Saving attachments.
449106
+ Processing by RailsAdmin::MainController#delete as HTML
449107
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449108
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449109
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449110
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449111
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (5.0ms)
449112
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (8.3ms)
449113
+ Completed 200 OK in 179ms (Views: 68.7ms | ActiveRecord: 0.5ms)
449114
+  (1.5ms) rollback transaction
449115
+  (0.1ms) begin transaction
449116
+  (0.1ms) commit transaction
449117
+  (0.1ms) begin transaction
449118
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449119
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449120
+ [paperclip] Saving attachments.
449121
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_13@example.com' LIMIT 1
449122
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_13@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449123
+ [paperclip] Saving attachments.
449124
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_14@example.com' LIMIT 1
449125
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["email", "username_14@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449126
+ [paperclip] Saving attachments.
449127
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449128
+ [paperclip] Saving attachments.
449129
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 15 AND "players"."team_id" IS NULL) LIMIT 1
449130
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["name", "Player 15"], ["number", 15], ["position", "Position 15"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00]]
449131
+ Started GET "/admin/player/1/edit" for 127.0.0.1 at 2013-06-28 03:56:11 +0200
449132
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449133
+ [paperclip] Saving attachments.
449134
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "--- []\n"]]
449135
+ [paperclip] Saving attachments.
449136
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:11 UTC +00:00], ["roles", "---\n- :admin\n"]]
449137
+ [paperclip] Saving attachments.
449138
+ Processing by RailsAdmin::MainController#edit as HTML
449139
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449140
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449141
+  (0.1ms) SELECT COUNT(*) FROM "teams"
449142
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
449143
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (20.5ms)
449144
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449145
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449146
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449147
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449148
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.5ms)
449149
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (3.5ms)
449150
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.6ms)
449151
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449152
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449153
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
449154
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
449155
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (14.3ms)
449156
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449157
+  (0.1ms) SELECT COUNT(*) FROM "comments"
449158
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
449159
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (10.8ms)
449160
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.5ms)
449161
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (6.9ms)
449162
+ Completed 200 OK in 259ms (Views: 222.0ms | ActiveRecord: 1.2ms)
449163
+  (1.5ms) rollback transaction
449164
+  (0.2ms) begin transaction
449165
+  (0.1ms) commit transaction
449166
+  (0.1ms) begin transaction
449167
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449168
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449169
+ [paperclip] Saving attachments.
449170
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_15@example.com' LIMIT 1
449171
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_15@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449172
+ [paperclip] Saving attachments.
449173
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_16@example.com' LIMIT 1
449174
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_16@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449175
+ [paperclip] Saving attachments.
449176
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["roles", "---\n- :admin\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449177
+ [paperclip] Saving attachments.
449178
+ Started GET "/admin/player/new" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449179
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449180
+ [paperclip] Saving attachments.
449181
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449182
+ [paperclip] Saving attachments.
449183
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 3 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n"]]
449184
+ [paperclip] Saving attachments.
449185
+ Processing by RailsAdmin::MainController#new as HTML
449186
+ Parameters: {"model_name"=>"player"}
449187
+  (0.1ms) SELECT COUNT(*) FROM "teams"
449188
+ Team Load (0.1ms) SELECT "teams".* FROM "teams" ORDER BY teams.id desc
449189
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (15.0ms)
449190
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449191
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449192
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.2ms)
449193
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449194
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449195
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.3ms)
449196
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.4ms)
449197
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449198
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
449199
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" ORDER BY drafts.id desc
449200
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (10.1ms)
449201
+  (0.1ms) SELECT COUNT(*) FROM "comments"
449202
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" ORDER BY comments.id desc
449203
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (9.2ms)
449204
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.3ms)
449205
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (7.0ms)
449206
+ Completed 200 OK in 218ms (Views: 116.5ms | ActiveRecord: 0.8ms)
449207
+  (0.4ms) rollback transaction
449208
+  (0.1ms) begin transaction
449209
+  (0.1ms) commit transaction
449210
+  (0.1ms) begin transaction
449211
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449212
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449213
+ [paperclip] Saving attachments.
449214
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_17@example.com' LIMIT 1
449215
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_17@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449216
+ [paperclip] Saving attachments.
449217
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449218
+ [paperclip] Saving attachments.
449219
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 16 AND "players"."team_id" IS NULL) LIMIT 1
449220
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 16"], ["number", 16], ["position", "Position 16"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449221
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 17 AND "players"."team_id" IS NULL) LIMIT 1
449222
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 17"], ["number", 17], ["position", "Position 17"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449223
+ Started DELETE "/admin/player/bulk_delete?bulk_ids%5B%5D=1&bulk_ids%5B%5D=2" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449224
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449225
+ [paperclip] Saving attachments.
449226
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"]]
449227
+ [paperclip] Saving attachments.
449228
+ Processing by RailsAdmin::MainController#bulk_delete as HTML
449229
+ Parameters: {"bulk_ids"=>["1", "2"], "model_name"=>"player"}
449230
+ Player Load (0.4ms) SELECT "players".* FROM "players" WHERE "players"."retired" = 'f' AND "players"."id" IN (1, 2) ORDER BY players.id desc
449231
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449232
+ SQL (0.1ms) DELETE FROM "players" WHERE "players"."id" = ? [["id", 1]]
449233
+ SQL (0.4ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["item", 1], ["message", "delete"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["username", "username_17@example.com"]]
449234
+ Redirected to http://www.example.com/admin/player
449235
+ Completed 302 Found in 129ms (ActiveRecord: 1.0ms)
449236
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449237
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 2 ORDER BY "players"."id" ASC LIMIT 1
449238
+  (1.5ms) rollback transaction
449239
+  (0.1ms) begin transaction
449240
+  (0.1ms) commit transaction
449241
+  (0.1ms) begin transaction
449242
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449243
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449244
+ [paperclip] Saving attachments.
449245
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_18@example.com' LIMIT 1
449246
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_18@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449247
+ [paperclip] Saving attachments.
449248
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449249
+ [paperclip] Saving attachments.
449250
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 18 AND "players"."team_id" IS NULL) LIMIT 1
449251
+ SQL (0.4ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 18"], ["number", 18], ["position", "Position 18"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449252
+ Player Exists (0.2ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 19 AND "players"."team_id" IS NULL) LIMIT 1
449253
+ SQL (0.4ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 19"], ["number", 19], ["position", "Position 19"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449254
+ Started POST "/admin/player/bulk_action?bulk_action=bulk_delete&bulk_ids%5B%5D=1&bulk_ids%5B%5D=2" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449255
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449256
+ [paperclip] Saving attachments.
449257
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"]]
449258
+ [paperclip] Saving attachments.
449259
+ Processing by RailsAdmin::MainController#bulk_action as HTML
449260
+ Parameters: {"bulk_action"=>"bulk_delete", "bulk_ids"=>["1", "2"], "model_name"=>"player"}
449261
+ Player Load (0.3ms) SELECT "players".* FROM "players" WHERE "players"."retired" = 'f' AND "players"."id" IN (1, 2) ORDER BY players.id desc
449262
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449263
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449264
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (4.8ms)
449265
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.4ms)
449266
+ Completed 200 OK in 81ms (Views: 27.6ms | ActiveRecord: 0.5ms)
449267
+  (1.5ms) rollback transaction
449268
+  (0.1ms) begin transaction
449269
+  (0.1ms) commit transaction
449270
+  (0.1ms) begin transaction
449271
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449272
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449273
+ [paperclip] Saving attachments.
449274
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_19@example.com' LIMIT 1
449275
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_19@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449276
+ [paperclip] Saving attachments.
449277
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449278
+ [paperclip] Saving attachments.
449279
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 20 AND "players"."team_id" IS NULL) LIMIT 1
449280
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "retired", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 20"], ["number", 20], ["position", "Position 20"], ["retired", true], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449281
+ Started GET "/admin/player/1/delete" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449282
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449283
+ [paperclip] Saving attachments.
449284
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"]]
449285
+ [paperclip] Saving attachments.
449286
+ Processing by RailsAdmin::MainController#delete as HTML
449287
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449288
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449289
+ Completed 500 Internal Server Error in 98ms
449290
+  (0.4ms) rollback transaction
449291
+  (0.1ms) begin transaction
449292
+  (0.1ms) commit transaction
449293
+  (0.1ms) begin transaction
449294
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449295
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449296
+ [paperclip] Saving attachments.
449297
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_20@example.com' LIMIT 1
449298
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_20@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449299
+ [paperclip] Saving attachments.
449300
+ SQL (0.4ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449301
+ [paperclip] Saving attachments.
449302
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 21 AND "players"."team_id" IS NULL) LIMIT 1
449303
+ SQL (0.3ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 21"], ["number", 21], ["position", "Position 21"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449304
+ Started GET "/admin/player/1/delete" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449305
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449306
+ [paperclip] Saving attachments.
449307
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :destroy_player\n"]]
449308
+ [paperclip] Saving attachments.
449309
+ Processing by RailsAdmin::MainController#delete as HTML
449310
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449311
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449312
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449313
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449314
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_delete_notice.html.haml (4.0ms)
449315
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.1ms)
449316
+ Completed 200 OK in 61ms (Views: 24.6ms | ActiveRecord: 0.4ms)
449317
+ Started DELETE "/admin/player/1/delete" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449318
+ Processing by RailsAdmin::MainController#delete as HTML
449319
+ Parameters: {"utf8"=>"✓", "return_to"=>"", "model_name"=>"player", "id"=>"1"}
449320
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
449321
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449322
+ SQL (0.3ms) INSERT INTO "rails_admin_histories" ("created_at", "item", "message", "table", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["item", 1], ["message", "delete"], ["table", "Player"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["username", "username_20@example.com"]]
449323
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449324
+ SQL (0.1ms) DELETE FROM "players" WHERE "players"."id" = ? [["id", 1]]
449325
+ Redirected to http://www.example.com/admin/player
449326
+ Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
449327
+ Started GET "/admin/player" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449328
+ Processing by RailsAdmin::MainController#index as HTML
449329
+ Parameters: {"model_name"=>"player"}
449330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
449331
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."retired" = 'f' ORDER BY players.id desc LIMIT 20 OFFSET 0
449332
+  (0.1ms) SELECT COUNT(*) FROM "players" WHERE "players"."retired" = 'f'
449333
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (1.8ms)
449334
+ Completed 200 OK in 93ms (Views: 80.6ms | ActiveRecord: 0.4ms)
449335
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449336
+  (1.4ms) rollback transaction
449337
+  (0.1ms) begin transaction
449338
+  (0.0ms) commit transaction
449339
+  (0.0ms) begin transaction
449340
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username@example.com' LIMIT 1
449341
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449342
+ [paperclip] Saving attachments.
449343
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'username_21@example.com' LIMIT 1
449344
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "roles", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["email", "username_21@example.com"], ["encrypted_password", "password"], ["roles", "--- []\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449345
+ [paperclip] Saving attachments.
449346
+ SQL (0.5ms) UPDATE "users" SET "roles" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["roles", "---\n- :admin\n- :read_player\n- :update_player\n"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449347
+ [paperclip] Saving attachments.
449348
+ Player Exists (0.1ms) SELECT 1 AS one FROM "players" WHERE ("players"."number" = 22 AND "players"."team_id" IS NULL) LIMIT 1
449349
+ SQL (0.2ms) INSERT INTO "players" ("created_at", "name", "number", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["name", "Player 22"], ["number", 22], ["position", "Position 22"], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00]]
449350
+ Started GET "/admin/player/1/edit" for 127.0.0.1 at 2013-06-28 03:56:12 +0200
449351
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 1 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "--- []\n"]]
449352
+ [paperclip] Saving attachments.
449353
+ SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ?, "roles" = ? WHERE "users"."id" = 2 [["last_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["current_sign_in_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 28 Jun 2013 01:56:12 UTC +00:00], ["roles", "---\n- :admin\n- :read_player\n- :update_player\n"]]
449354
+ [paperclip] Saving attachments.
449355
+ Processing by RailsAdmin::MainController#edit as HTML
449356
+ Parameters: {"model_name"=>"player", "id"=>"1"}
449357
+ Player Load (0.2ms) SELECT "players".* FROM "players" WHERE "players"."id" = 1 ORDER BY "players"."id" ASC LIMIT 1
449358
+  (0.1ms) SELECT COUNT(*) FROM "teams"
449359
+ Team Load (0.2ms) SELECT "teams".* FROM "teams" WHERE ('t'='f') ORDER BY teams.id desc
449360
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (16.2ms)
449361
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
449362
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449363
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449364
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449365
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449366
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_datetime.html.haml (2.6ms)
449367
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_text.html.haml (0.4ms)
449368
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
449369
+ Draft Load (0.1ms) SELECT "drafts".* FROM "drafts" WHERE "drafts"."player_id" = ? ORDER BY "drafts"."id" ASC LIMIT 1 [["player_id", 1]]
449370
+  (0.1ms) SELECT COUNT(*) FROM "drafts"
449371
+ Draft Load (0.2ms) SELECT "drafts".* FROM "drafts" WHERE ('t'='f') ORDER BY drafts.id desc
449372
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_select.html.haml (9.7ms)
449373
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."commentable_id" = ? AND "comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "Player"]]
449374
+  (0.1ms) SELECT COUNT(*) FROM "comments"
449375
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE ('t'='f') ORDER BY comments.id desc
449376
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_form_filtering_multiselect.html.haml (8.0ms)
449377
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/rails_admin/main/_submit_buttons.html.haml (1.1ms)
449378
+ Rendered /Users/sferik/Projects/Ruby/gems/rails_admin/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.5ms)
449379
+ Completed 200 OK in 137ms (Views: 92.9ms | ActiveRecord: 1.1ms)