themes_on_rails 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/themes_on_rails/action_controller.rb +6 -1
- data/lib/themes_on_rails/version.rb +1 -1
- data/spec/dummy/app/controllers/posts_controller.rb +4 -0
- data/spec/dummy/config/routes.rb +3 -1
- data/spec/dummy/log/test.log +372 -0
- data/spec/dummy/spec/controllers/posts_controller_spec.rb +14 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0W__93zMtBr4J5lxJzSOcf85zSSi4xLDKcGAaQ9iu24.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1Dm2zqqP9QyT5oHZ7-VACra8jXM5NWtxb1lxjJfYbzA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4MgGRMoMDyO_HYbMZkzGR1P2vxRVp-RP56ot8NyDQJU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5TzYmONEI2HYkxGdPZU9iJFCuuoe70CB-i-w-KEHZv0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7bDE3dJR0aJdiea8agQstto29hVRcQFRGhxgIUsoCnU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/An131-c48xpgDFCYvVeaMYi3Llz89jFon9N-UCK-hkI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BS06_YDhDc_qtuBoExQPUREMMKo0XEsbuk75JeBmgOY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Bm4QOkShJajbRBM0cf6QC5N8zFxL5xy989dbotSK1Is.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Bnbp3T6OW3fYWP0bxpKlzj_vAHSo1VKLwOSjboLfcAc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CJslLzl7yanoQImPUrcpyaq3w7bou2ati-n1RcHYrdM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DE139NeWjRo9q85i0a7rkJkX4e1Th2ftDqBSfuSqtlk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DKotdz8XhLEyLs2WS4OBHAonMTHLg86pxQ6OFIS4b_8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DTrT-pCJHXG0KsURYJnnQRfSfJyvxZXT1tccI09KC38.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/F5kSR5xQF09buk9JCfTn8qNMuXkMBC4L97CoPMG2YBs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J7lCC1PBATzJFClWXV4spWnKl4JF01lmI8HwXCcO6cM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MEi1eTkH97RjoGTb1MvtYKzAdwemyFuN_MYgHq1u59w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MU_R3bAkPCy-MHrX28IlUuNBqULHFfFd0e_viWJF1WE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mmz-xddysFAbTZRmdxlVVwwE4_ORtp7q0hGIZ6HLOhM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MwQvDF-Kvx_S0qgvQ4mGgIF2HYfQ38A7coRxWFvqrFA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/N2hYBXTvy8nJcDfy14iSFSz4q3413ChFGELCnhNyBW4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NS4DHaRSTbSih1X2teSleniP0-Eb8y9GcUziwv9EPQ8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NrrzRNa0SBJG80-Yx4_-PWL_pwjAiFepk8jvbRyyT1w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Qfp6bm8Yv-YFCadMOWMVuvehjPYEFOcXid5g3S5q73o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/RzC2wn7Uq4loLBVFioTFf3Gd0s2I4azIyHCVJU03DbY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UX7Lwrv66c6HgVq7ylE05RfWWPQbi6lksh1Tm_DJvqA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UZ0Mr1p2f6bOmUJrIHXSeQDPGR_uR0s0IxPKMwDC8n0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Y4VwV0rn_oM69Bt3uZwdcu4sKHkz9797RVi9yDxZPcM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/a4wUwd6GfmGEiJge5CgpgtHXbqJfFK9Xep5uOfP2P70.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bux_t4x7Q9XQXcuiEyNsDqUK-WsbI7Dxu1KBHn2pqeQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/d_-q9Ej5cyngx0w9-fZpq3_2Q9jRXoV_1K1DMrNbfqo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/goIo_Vg5Ty_-U4BKXyeTWWiBXmFkfW_33TaTMJbhK3o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ltzxXj7WMc1O-BQ288XTCqZVPnGpCj0sP2UMUQPHqZU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/m3OclrG6RHOY5lceqY5q03qF3MB7NrF8sYjapFaG_Gs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ompUzgaB0qfmoE6djKuHjLjMYlToLX0_lb6iFwWPO0o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qmcOwhyY2gqKABv9809hUDKrm9KLqDL0EjztokMcrTw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/sXiDxYewLTe8dl66Q6pBt-prRkse0xRqGbp1PAj-vM4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/t2g3nIK7v-JJnhDxB8oxZPFqgkzhSDgo5-vBD6vNOj4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tGm-leXhHxP7hBx5vYeb5WIvzBrOx_AsQeAFxnrbPX0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/utKGeZANqAJOvBD45ZZpvP4t1r72IwaEvxWrpaexVmo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vJhsWvfqnSMptBnqOqUON3QVIgO8BpOKlyazWfpm5iE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/0W__93zMtBr4J5lxJzSOcf85zSSi4xLDKcGAaQ9iu24.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/1UD1ClnFZEu-CRHc2mLxHIAH4slQY7GhcPN0C1FPGt4.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/4MgGRMoMDyO_HYbMZkzGR1P2vxRVp-RP56ot8NyDQJU.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/53m0ly1dB7gUdS4IZIRd1_EXD48adkPfuigx2PGDkiI.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/5TzYmONEI2HYkxGdPZU9iJFCuuoe70CB-i-w-KEHZv0.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/5fd-Xj4nUOfp_I1rxIUxGSmM5e3AAb-PucuRFtbfYEA.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/5iW5fRPO-m71eHTsC-B5Zgv4y01NzwmSoBPd2Aiob-w.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/5qCtZv-RNcStOG7K6uwPMQV798fDdpqQwRoRIRIQ-9Y.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/9td1T1eCPuE5nx_iWWDyC4PPM7ZEVxopgx8oemitE8c.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/BcFcvonxLG4ATbsl9x2IhpMCDhv9I5h3E0qeU9vp5Ok.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/BjIMxEQ-JSkeoRZ9od8X1DgsBbaKbTX2wD_e5V0kq1E.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/D4LzCH84rFMJn4p_jN8r3ORR-6Pw7Y0oytLKBzjipgo.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/DO2i0-HffPvPEAFuRbJnLV_1DpYpY1Ve9LchQ6-t6Sk.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Dt1k0EOr8FWiIHVai1_IfIkle2i05n9FDVlw2VUiDXw.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/E58q4Y6uR_1wCuBmoEnAtgjoEW_ZMbl-lVZjUxoNSpc.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/EmAGGgq-7SGpp9nyNPH-Y4IzvuqYEqDUHcBo-vf4Rss.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Fd3uxL908-OoKZrojecx3lA0_h-IyroMgWBLCVNXs3k.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/H_70DI0pBv9SNjAe8Bfx0EWX0OdJ9wme0wB0QGMufno.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/K5NlpL-5l6Qmp5IHVM8t32FQp--ZnS2wB-DT1v1iBQ4.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/LHoMrErD3Dmzy4OrV1dPWJJzCr8_cPXerNoi7xv6XSo.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Lb-lt3f6jbIcShMbXeRqghx7U5EeiHxAwZCVO3OfJ0U.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Ld6pLiNVDuk2RiAFF6azQSCwubqN7Ouo2wLwlXqVG14.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/NS4DHaRSTbSih1X2teSleniP0-Eb8y9GcUziwv9EPQ8.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/NrrzRNa0SBJG80-Yx4_-PWL_pwjAiFepk8jvbRyyT1w.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/O9AZJnS5QNxgVVcQLz1WAO0iQCT1RMMT8rgVBWMS8Zg.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Qfp6bm8Yv-YFCadMOWMVuvehjPYEFOcXid5g3S5q73o.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/SncIMyeVS3Xw8jlmbQJeFUdj39SjHK5aC9ncN9_rbP8.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/SzLO7aQCvII8O7X4lUOOJn7nCwJDzVUKcbbRUeeOukI.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/UmuZjLbNHEi5rypZn1IUMdpx8yMK0f0y2tNlh1JJL8s.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/V403BVwFiLU1Rld3LLQDu6mS5_yf7K7TxdUfn_cytlM.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/VNVdZ_qbsyqJSZlTU9UZpn5NlvSyf2C8OxxwHYFfG-8.cache +4 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/WR86JHBi7xjM2kZoS2R49ZU0U1Y0BeUYRRx3o5OhrQE.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Wolig8knGKXOmS1qSiAXNmilbFDq_Z4xkaEqY0tadYY.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/Y4VwV0rn_oM69Bt3uZwdcu4sKHkz9797RVi9yDxZPcM.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/_aFIixokzZwwKkLzzw0CH943PGoWvidFJF8mdAVC0ng.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/aRSlTz7D1ZyNeC6vF2eNSAV6PJ8HpuLmJK1Q9kT_LV4.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/bRuQdWDjt9Oe82JPX4zNcQM-pTBxhIRen_k3gMprXNY.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/c1v1piihpKzlMcUVjZ9pIQfJgcLm_9We6boMuHFp5KY.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/cEcseJrGXYyv3HDxI_cliZYXjjxD5DXfucKiHLnqTmA.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/fXPWP0uVfU8aG_bI8HH5_WNiq6D31InOApUiAQrgd98.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/haKdrN10VnWRBpDGtiwsV6SVFcdPdA6fFmEkAwdQQeI.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/ibZpyYfAIpDCEZrGcY9CpLeV8lV4f91QwSYKmsR5wQE.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/ltzxXj7WMc1O-BQ288XTCqZVPnGpCj0sP2UMUQPHqZU.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/me649h4kIAb7zZcyVORp6qT1C7wxhJGnEmJjJsOviis.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/mov7hU9xDe6LV3LOmFwMy_pxDRED7QgmlnIP1tH5OsA.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/o-rCbeElKBhlEIlXP_UlkrxWaJsdyF3oXMP4QcJbjEw.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/ompUzgaB0qfmoE6djKuHjLjMYlToLX0_lb6iFwWPO0o.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/oyAGpRLfNQdoojcwXytDdRI8ZiXf9I9kphYb8BebMJM.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/q6_Ko3olu3TU_5b7wEtFr0Eascb9sAUQMBjKzw_r1F0.cache +1 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/qdWO6k4FpB8jqytIz4XB9XBAW8QU-ZaToByPr8EHKXw.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/talIkPm4-KgJHO3kqNsgCEKZbJbW7vQDhCrAjm023c8.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/utKGeZANqAJOvBD45ZZpvP4t1r72IwaEvxWrpaexVmo.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/xUcaAxeFvr2laCKwL4Qt68EGzp4qVM7tmqpQsvJfRyE.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/ykuOfrGwOYeAFIi8v7sPRVlqJaxYtIsTQESFh9JJCIM.cache +0 -0
- data/spec/dummy/tmp/cache/sprockets/v3.0/zDLLOwQDsJ0haeKbTIRNF3TsBRrsVL_hWFXfUjHEyb4.cache +1 -0
- metadata +143 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae2fab1ef5a06509896c525d545133b301ec068a
|
|
4
|
+
data.tar.gz: aab58b0a441c8c2a9b92c2b14a89723d29f74c39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34ee3579be8f3f8903d9fa644514d7b7ba9ad317b10e454cca49c88fd0d7335d7f51f7617a20dc52ed8b66d8a63d91d8d91911978c008c5b7ccb04156c9867d8
|
|
7
|
+
data.tar.gz: 164c2e765263be928da47854efbf719b065f33c19426c382778602e1915d86626467614b37f8e25a0ce8280160cb26263d9a60ad7e80c978a0845a8c03b08aa1
|
|
@@ -17,8 +17,13 @@ module ThemesOnRails
|
|
|
17
17
|
@theme_instance ||= ThemesOnRails::ActionController.new(self, theme)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
+
define_method :current_theme do
|
|
21
|
+
theme_instance.theme_name
|
|
22
|
+
end
|
|
23
|
+
|
|
20
24
|
private :layout_from_theme, :theme_instance
|
|
21
25
|
layout :layout_from_theme, options
|
|
26
|
+
helper_method :current_theme
|
|
22
27
|
end
|
|
23
28
|
|
|
24
29
|
controller_class.send(filter_method, options) do |controller|
|
|
@@ -37,7 +42,7 @@ module ThemesOnRails
|
|
|
37
42
|
case Rails::VERSION::MAJOR
|
|
38
43
|
when 3
|
|
39
44
|
options.delete(:prepend) ? :prepend_before_filter : :before_filter
|
|
40
|
-
when 4
|
|
45
|
+
when 4, 5
|
|
41
46
|
options.delete(:prepend) ? :prepend_before_action : :before_action
|
|
42
47
|
end
|
|
43
48
|
end
|
|
@@ -51,6 +51,10 @@ class PostsController < ApplicationController
|
|
|
51
51
|
redirect_to posts_url, notice: 'Post was successfully destroyed.'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
def get_theme
|
|
55
|
+
render inline: "<%= current_theme %>"
|
|
56
|
+
end
|
|
57
|
+
|
|
54
58
|
private
|
|
55
59
|
# Use callbacks to share common setup or constraints between actions.
|
|
56
60
|
def set_post
|
data/spec/dummy/config/routes.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -10706,3 +10706,375 @@ Processing by PostsController#new as HTML
|
|
|
10706
10706
|
Parameters: {"theme"=>"theme_a"}
|
|
10707
10707
|
Rendered posts/_form.html.erb (1.8ms)
|
|
10708
10708
|
Completed 200 OK in 3.3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
10709
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10710
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
10711
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
|
10712
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10713
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10714
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131120082307')
|
|
10715
|
+
Processing by PostsController#index as HTML
|
|
10716
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10717
|
+
[1m[36mPost Load (1.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10718
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (8.8ms)
|
|
10719
|
+
Completed 200 OK in 263ms (Views: 258.8ms | ActiveRecord: 1.4ms)
|
|
10720
|
+
Processing by PostsController#index as HTML
|
|
10721
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10722
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10723
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (1.3ms)
|
|
10724
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.1ms)
|
|
10725
|
+
Processing by PostsController#index as HTML
|
|
10726
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10727
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10728
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.3ms)
|
|
10729
|
+
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.1ms)
|
|
10730
|
+
Processing by PostsController#index as HTML
|
|
10731
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10732
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10733
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.3ms)
|
|
10734
|
+
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.1ms)
|
|
10735
|
+
Processing by PostsController#index as HTML
|
|
10736
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10737
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (1.3ms)
|
|
10738
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
|
10739
|
+
Processing by PostsController#index as HTML
|
|
10740
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10741
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (1.0ms)
|
|
10742
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
|
10743
|
+
Processing by PostsController#index as HTML
|
|
10744
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10745
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.7ms)
|
|
10746
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
10747
|
+
Processing by PostsController#new as HTML
|
|
10748
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10749
|
+
Rendered posts/_form.html.erb (16.4ms)
|
|
10750
|
+
Rendered posts/new.html.erb within layouts/application (43.2ms)
|
|
10751
|
+
Completed 200 OK in 55ms (Views: 51.3ms | ActiveRecord: 0.2ms)
|
|
10752
|
+
Processing by PostsController#new as HTML
|
|
10753
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10754
|
+
Rendered posts/_form.html.erb (1.7ms)
|
|
10755
|
+
Rendered posts/new.html.erb within layouts/application (2.1ms)
|
|
10756
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
10757
|
+
Processing by PostsController#index as HTML
|
|
10758
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10759
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10760
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.5ms)
|
|
10761
|
+
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.2ms)
|
|
10762
|
+
Processing by PostsController#get_theme as HTML
|
|
10763
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10764
|
+
Rendered inline template (0.3ms)
|
|
10765
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
10766
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10767
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
10768
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
10769
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10770
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10771
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131120082307')
|
|
10772
|
+
Processing by PostsController#index as HTML
|
|
10773
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10774
|
+
[1m[36mPost Load (1.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10775
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (8.0ms)
|
|
10776
|
+
Completed 200 OK in 186ms (Views: 181.1ms | ActiveRecord: 1.4ms)
|
|
10777
|
+
Processing by PostsController#index as HTML
|
|
10778
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10779
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10780
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (1.2ms)
|
|
10781
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms)
|
|
10782
|
+
Processing by PostsController#index as HTML
|
|
10783
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10784
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10785
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.1ms)
|
|
10786
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.1ms)
|
|
10787
|
+
Processing by PostsController#index as HTML
|
|
10788
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10789
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10790
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.0ms)
|
|
10791
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
|
10792
|
+
Processing by PostsController#index as HTML
|
|
10793
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10794
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.9ms)
|
|
10795
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
|
10796
|
+
Processing by PostsController#index as HTML
|
|
10797
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10798
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.6ms)
|
|
10799
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
10800
|
+
Processing by PostsController#index as HTML
|
|
10801
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10802
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.5ms)
|
|
10803
|
+
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
|
10804
|
+
Processing by PostsController#new as HTML
|
|
10805
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10806
|
+
Rendered posts/_form.html.erb (12.0ms)
|
|
10807
|
+
Rendered posts/new.html.erb within layouts/application (16.0ms)
|
|
10808
|
+
Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.2ms)
|
|
10809
|
+
Processing by PostsController#new as HTML
|
|
10810
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10811
|
+
Rendered posts/_form.html.erb (1.4ms)
|
|
10812
|
+
Rendered posts/new.html.erb within layouts/application (1.8ms)
|
|
10813
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
10814
|
+
Processing by PostsController#index as HTML
|
|
10815
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10816
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10817
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.0ms)
|
|
10818
|
+
Completed 200 OK in 31ms (Views: 30.3ms | ActiveRecord: 0.1ms)
|
|
10819
|
+
Processing by PostsController#get_theme as HTML
|
|
10820
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10821
|
+
Rendered inline template (0.3ms)
|
|
10822
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
10823
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10824
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
10825
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
|
10826
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10827
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10828
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131120082307')
|
|
10829
|
+
Processing by PostsController#index as HTML
|
|
10830
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10831
|
+
[1m[36mPost Load (1.4ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10832
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (9.9ms)
|
|
10833
|
+
Completed 200 OK in 208ms (Views: 203.2ms | ActiveRecord: 1.5ms)
|
|
10834
|
+
Processing by PostsController#index as HTML
|
|
10835
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10836
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
|
10837
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (1.7ms)
|
|
10838
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.2ms)
|
|
10839
|
+
Processing by PostsController#index as HTML
|
|
10840
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10841
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10842
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.4ms)
|
|
10843
|
+
Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.1ms)
|
|
10844
|
+
Processing by PostsController#index as HTML
|
|
10845
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10846
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10847
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.3ms)
|
|
10848
|
+
Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.1ms)
|
|
10849
|
+
Processing by PostsController#index as HTML
|
|
10850
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10851
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (1.7ms)
|
|
10852
|
+
Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
|
10853
|
+
Processing by PostsController#index as HTML
|
|
10854
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10855
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.5ms)
|
|
10856
|
+
Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
|
10857
|
+
Processing by PostsController#index as HTML
|
|
10858
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10859
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.5ms)
|
|
10860
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
|
10861
|
+
Processing by PostsController#new as HTML
|
|
10862
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10863
|
+
Rendered posts/_form.html.erb (19.8ms)
|
|
10864
|
+
Rendered posts/new.html.erb within layouts/application (25.9ms)
|
|
10865
|
+
Completed 200 OK in 39ms (Views: 34.2ms | ActiveRecord: 0.3ms)
|
|
10866
|
+
Processing by PostsController#new as HTML
|
|
10867
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10868
|
+
Rendered posts/_form.html.erb (1.3ms)
|
|
10869
|
+
Rendered posts/new.html.erb within layouts/application (1.6ms)
|
|
10870
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
10871
|
+
Processing by PostsController#index as HTML
|
|
10872
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10873
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10874
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (23.0ms)
|
|
10875
|
+
Completed 200 OK in 31ms (Views: 30.9ms | ActiveRecord: 0.2ms)
|
|
10876
|
+
Processing by PostsController#get_theme as HTML
|
|
10877
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10878
|
+
Rendered inline template (0.4ms)
|
|
10879
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
10880
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10881
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
10882
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
10883
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10884
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10885
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131120082307')
|
|
10886
|
+
Processing by PostsController#index as HTML
|
|
10887
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10888
|
+
[1m[36mPost Load (1.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10889
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (7.2ms)
|
|
10890
|
+
Completed 200 OK in 184ms (Views: 178.6ms | ActiveRecord: 1.3ms)
|
|
10891
|
+
Processing by PostsController#index as HTML
|
|
10892
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10893
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10894
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (1.2ms)
|
|
10895
|
+
Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.1ms)
|
|
10896
|
+
Processing by PostsController#index as HTML
|
|
10897
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10898
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10899
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.1ms)
|
|
10900
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.1ms)
|
|
10901
|
+
Processing by PostsController#index as HTML
|
|
10902
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10903
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10904
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (1.0ms)
|
|
10905
|
+
Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.1ms)
|
|
10906
|
+
Processing by PostsController#index as HTML
|
|
10907
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10908
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.8ms)
|
|
10909
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
|
10910
|
+
Processing by PostsController#index as HTML
|
|
10911
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10912
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.8ms)
|
|
10913
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
|
10914
|
+
Processing by PostsController#index as HTML
|
|
10915
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10916
|
+
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (0.6ms)
|
|
10917
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
10918
|
+
Processing by PostsController#new as HTML
|
|
10919
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10920
|
+
Rendered posts/_form.html.erb (12.4ms)
|
|
10921
|
+
Rendered posts/new.html.erb within layouts/application (16.6ms)
|
|
10922
|
+
Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.3ms)
|
|
10923
|
+
Processing by PostsController#new as HTML
|
|
10924
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10925
|
+
Rendered posts/_form.html.erb (1.4ms)
|
|
10926
|
+
Rendered posts/new.html.erb within layouts/application (1.7ms)
|
|
10927
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
10928
|
+
Processing by PostsController#index as HTML
|
|
10929
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10930
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10931
|
+
Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (23.9ms)
|
|
10932
|
+
Completed 200 OK in 30ms (Views: 29.6ms | ActiveRecord: 0.3ms)
|
|
10933
|
+
Processing by PostsController#get_theme as HTML
|
|
10934
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10935
|
+
Rendered inline template (0.3ms)
|
|
10936
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
10937
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10938
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
10939
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
10940
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10941
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10942
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131120082307')
|
|
10943
|
+
Processing by PostsController#index as HTML
|
|
10944
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10945
|
+
[1m[36mPost Load (1.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10946
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (5.7ms)
|
|
10947
|
+
Completed 200 OK in 159ms (Views: 155.9ms | ActiveRecord: 1.1ms)
|
|
10948
|
+
Processing by PostsController#index as HTML
|
|
10949
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10950
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
10951
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.1ms)
|
|
10952
|
+
Processing by PostsController#index as HTML
|
|
10953
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10954
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10955
|
+
Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.1ms)
|
|
10956
|
+
Processing by PostsController#index as HTML
|
|
10957
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10958
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
|
10959
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
|
|
10960
|
+
Processing by PostsController#index as HTML
|
|
10961
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10962
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
|
10963
|
+
Processing by PostsController#index as HTML
|
|
10964
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10965
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
|
10966
|
+
Processing by PostsController#index as HTML
|
|
10967
|
+
Parameters: {"theme"=>"theme_c"}
|
|
10968
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
|
10969
|
+
Processing by PostsController#new as HTML
|
|
10970
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10971
|
+
Rendered posts/_form.html.erb (20.1ms)
|
|
10972
|
+
Completed 200 OK in 69ms (Views: 67.8ms | ActiveRecord: 0.3ms)
|
|
10973
|
+
Processing by PostsController#new as HTML
|
|
10974
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10975
|
+
Rendered posts/_form.html.erb (1.8ms)
|
|
10976
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
10977
|
+
Processing by PostsController#index as HTML
|
|
10978
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10979
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10980
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
|
10981
|
+
Processing by PostsController#get_theme as HTML
|
|
10982
|
+
Parameters: {"theme"=>"theme_a"}
|
|
10983
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
10984
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
10985
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
10986
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
10987
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
|
10988
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
|
10989
|
+
Processing by PostsController#index as HTML
|
|
10990
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10991
|
+
[1m[36mPost Load (1.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
10992
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (4.0ms)
|
|
10993
|
+
Completed 200 OK in 205ms (Views: 202.4ms | ActiveRecord: 1.2ms)
|
|
10994
|
+
Processing by PostsController#index as HTML
|
|
10995
|
+
Parameters: {"theme"=>"theme_b"}
|
|
10996
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
|
10997
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.2ms)
|
|
10998
|
+
Processing by PostsController#index as HTML
|
|
10999
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11000
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
11001
|
+
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.2ms)
|
|
11002
|
+
Processing by PostsController#index as HTML
|
|
11003
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11004
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
|
11005
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
|
11006
|
+
Processing by PostsController#index as HTML
|
|
11007
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11008
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
|
11009
|
+
Processing by PostsController#index as HTML
|
|
11010
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11011
|
+
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
|
11012
|
+
Processing by PostsController#index as HTML
|
|
11013
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11014
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
11015
|
+
Processing by PostsController#new as HTML
|
|
11016
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11017
|
+
Rendered posts/_form.html.erb (19.7ms)
|
|
11018
|
+
Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.3ms)
|
|
11019
|
+
Processing by PostsController#new as HTML
|
|
11020
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11021
|
+
Rendered posts/_form.html.erb (1.5ms)
|
|
11022
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
11023
|
+
Processing by PostsController#index as HTML
|
|
11024
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11025
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
|
11026
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms)
|
|
11027
|
+
Processing by PostsController#get_theme as HTML
|
|
11028
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11029
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
11030
|
+
Connecting to database specified by database.yml
|
|
11031
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
11032
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
11033
|
+
[1m[36m (1.6ms)[0m [1mDROP TABLE "posts"[0m
|
|
11034
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)
|
|
11035
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
11036
|
+
Connecting to database specified by database.yml
|
|
11037
|
+
Processing by PostsController#index as HTML
|
|
11038
|
+
Parameters: {"theme"=>"theme_b"}
|
|
11039
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
|
11040
|
+
Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (2.3ms)
|
|
11041
|
+
Completed 200 OK in 19.5ms (Views: 17.9ms | ActiveRecord: 0.2ms)
|
|
11042
|
+
Processing by PostsController#index as HTML
|
|
11043
|
+
Parameters: {"theme"=>"theme_b"}
|
|
11044
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
11045
|
+
Completed 200 OK in 13.4ms (Views: 12.7ms | ActiveRecord: 0.1ms)
|
|
11046
|
+
Processing by PostsController#index as HTML
|
|
11047
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11048
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
|
11049
|
+
Completed 200 OK in 7.4ms (Views: 6.7ms | ActiveRecord: 0.1ms)
|
|
11050
|
+
Processing by PostsController#index as HTML
|
|
11051
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11052
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
11053
|
+
Completed 200 OK in 7.2ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
|
11054
|
+
Processing by PostsController#index as HTML
|
|
11055
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11056
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
|
11057
|
+
Completed 200 OK in 5.5ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
|
11058
|
+
Processing by PostsController#index as HTML
|
|
11059
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11060
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
11061
|
+
Completed 200 OK in 4.0ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
|
11062
|
+
Processing by PostsController#index as HTML
|
|
11063
|
+
Parameters: {"theme"=>"theme_c"}
|
|
11064
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
|
11065
|
+
Completed 200 OK in 3.7ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
|
11066
|
+
Processing by PostsController#new as HTML
|
|
11067
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11068
|
+
Rendered posts/_form.html.erb (10.0ms)
|
|
11069
|
+
Completed 200 OK in 26.5ms (Views: 19.6ms | ActiveRecord: 0.0ms)
|
|
11070
|
+
Processing by PostsController#new as HTML
|
|
11071
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11072
|
+
Rendered posts/_form.html.erb (1.5ms)
|
|
11073
|
+
Completed 200 OK in 2.8ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
11074
|
+
Processing by PostsController#index as HTML
|
|
11075
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11076
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
|
11077
|
+
Completed 200 OK in 5.4ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
|
11078
|
+
Processing by PostsController#get_theme as HTML
|
|
11079
|
+
Parameters: {"theme"=>"theme_a"}
|
|
11080
|
+
Completed 200 OK in 0.7ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
@@ -64,4 +64,17 @@ describe PostsController do
|
|
|
64
64
|
expect(response).to render_template("layouts/application")
|
|
65
65
|
end
|
|
66
66
|
end
|
|
67
|
-
|
|
67
|
+
|
|
68
|
+
context 'current theme' do
|
|
69
|
+
it 'get current theme' do
|
|
70
|
+
get :index, theme: "theme_a"
|
|
71
|
+
expect(controller.current_theme).to eq "theme_a"
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
it 'renders with helper method' do
|
|
75
|
+
get :get_theme, theme: "theme_a"
|
|
76
|
+
expect(response.body).to eq "theme_a"
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
end
|