This file contains hidden or 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
| // Don't work | |
| $( "#message_number_false" ).click( | |
| function() { | |
| $( "#call_back_text" ).show(100); | |
| }); | |
| // Don't work | |
| $( "#message_number_true" ).click( | |
| function() { | |
| $( "#call_back_text" ).hide(100); |
This file contains hidden or 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
| $('.submittable').live('change', function() { | |
| $(this).parents('form:first').submit(); | |
| return false; | |
| }); | |
| $(function() { | |
| // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! | |
| $( "#dialog:ui-dialog" ).dialog( "destroy" ); |
This file contains hidden or 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
| resources :users do | |
| put :approve, :on => :member | |
| get :showPhoneNumber | |
| end |
This file contains hidden or 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
| $('#message_message_text').attr("id","message_message_text_old"); | |
| $('#message_message_text_old').attr("name",""); | |
| $('#message_message_text_old').hide(); |
This file contains hidden or 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
| $( '#link_stop' ).attr('href','#'); | |
| $( '#link_stop' ).click(function() { | |
| $( "#invoices-form" ).dialog( "open" ); | |
| }); |
This file contains hidden or 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
| /home/mark/ebay/config.rb:15:in `require_relative': no such file to load -- /home/mark/ebay/lib/models/Item (LoadError) | |
| from /home/mark/ebay/config.rb:15:in `<top (required)>' | |
| from <internal:lib/rubygems/custom_require>:29:in `require' | |
| from <internal:lib/rubygems/custom_require>:29:in `require' | |
| from ./ebay.rb:3:in `<main>' |
This file contains hidden or 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
| require 'rubygems' | |
| require 'bundler/setup' | |
| require 'sequel' | |
| require 'logger' | |
| require_relative 'lib/models/Item' |
This file contains hidden or 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
| 8490ea9d5536609099320b72c1cc4d0b server.js |
This file contains hidden or 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
| a = Audiofile.new | |
| a.id = 109883 | |
| b = Audiofile.new | |
| b.id = 109884 | |
| puts JSON.pretty_generate([a,b]) |
This file contains hidden or 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
| undefined method `model_name' for NilClass:Class | |
| Extracted source (around line #14): | |
| 11: %td= link_to 'Show', item | |
| 12: %br | |
| 13: | |
| 14: = semantic_form_for @items do |f| | |
| 15: - f.inputs :title |