Created
May 1, 2012 18:01
-
-
Save fabiokr/2570091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadError in # | |
Showing /home/fabio/dev/site5/helix/app/views/layouts/application.html.erb where line #31 raised: | |
cannot load such file -- ["ok","(function() {\n\n $(document).ready(function() {\n $('form li.error:first input').focus();\n $('table.sortable').each(function(i, t) {\n var config, headers, table;\n table = $(t);\n headers = table.find('thead th');\n config = {\n headers: {}\n };\n headers.each(function(i, h) {\n var header, hide;\n header = $(h);\n hide = header.hasClass('actions' || header.hasClass('no-sort'));\n if (hide) {\n return config.headers[i] = {\n sorter: false\n };\n }\n });\n return table.tablesorter(config);\n });\n return $('[name=\"customer_autocomplete\"]').each(function(i, customer_input) {\n var customer_id_input;\n customer_input = $(customer_input);\n customer_id_input = customer_input.parents('form:first').find('[name*=\"customer_id\"]');\n return customer_input.autocomplete(customer_input.data(\"autocomplete-uri\"), {\n minChars: 2,\n queryParamName: \"name\",\n remoteDataType: \"json\",\n processData: function(data) {\n return data.map(function(item) {\n return [item.full_name, item];\n });\n },\n onItemSelect: function(item) {\n return customer_id_input.val(item.data[0].id);\n }\n });\n });\n });\n\n}).call(this);\n"] | |
(in /home/fabio/dev/site5/helix/app/assets/javascripts/application_main.coffee) | |
Extracted source (around line #31): | |
28: | |
29: <%= render partial: "layouts/revision" if signed_in? && last_revision.count != "Unknown" %> | |
30: | |
31: <%= javascript_include_tag 'application' %> | |
32: <%= javascript_tag("$.fx.off = true;") if Rails.env.test? %> | |
33: <%= yield :javascript %> | |
34: </body> | |
Rails.root: /home/fabio/dev/site5/helix | |
Application Trace | Framework Trace | Full Trace | |
app/views/layouts/application.html.erb:31:in `_app_views_layouts_application_html_erb__955695074408647926_39831900' | |
Request | |
Parameters: | |
None | |
Show session dump | |
Show env dump | |
Response | |
Headers: | |
None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment