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
Test from Git.vim |
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
jQuery.ajaxSetup({ | |
'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")} | |
}) | |
//Send data via get if JS enabled | |
jQuery.fn.getWithAjax = function() { | |
this.click(function() { | |
$.get($(this).attr("href"), $(this).serialize(), null, "script"); | |
return false; |
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
Processing NewsfeedsController#index (for 86.161.188.78 at 2009-03-11 23:45:03) [GET] | |
Session ID: 60c9e4a55e1975607aaf8883f27f3a57 | |
Parameters: {"action"=>"index", "controller"=>"newsfeeds"} | |
Rendering template within layouts/app_save | |
Rendering newsfeeds/index | |
Completed in 1232ms (View: 1220, DB: 20) | 200 OK [http://www.serialcooking.com/] | |
Processing NewsfeedsController#index (for 86.161.188.78 at 2009-03-11 23:48:15) [GET] | |
Session ID: 60c9e4a55e1975607aaf8883f27f3a57 |
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
# Logfile created on Wed Mar 11 23:09:05 +0000 2009** acts_as_taggable_on: initialized properly. | |
[4;36;1mSQL (0.2ms)[0m [0;1mSET NAMES 'utf8'[0m | |
[4;35;1mSQL (0.1ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m | |
Processing NewsfeedsController#index (for 127.0.0.1 at 2009-03-11 23:09:10) [GET] | |
Session ID: f23ef4bb335cda6f99d83f9bf734d8a9 | |
Parameters: {"action"=>"index", "controller"=>"newsfeeds"} | |
[4;36;1mTag Load (0.2ms)[0m [0;1mSELECT tags.id, tags.name, COUNT(*) AS count FROM `tags` LEFT OUTER JOIN taggings ON tags.id = taggings.tag_id AND taggings.context = 'tags' LEFT OUTER JOIN recipes ON recipes.id = taggings.taggable_id WHERE (taggings.taggable_type = 'Recipe') GROUP BY tags.id, tags.name HAVING COUNT(*) > 0 AND COUNT(*) >= '3' ORDER BY name[0m | |
[4;35;1mCategory Load (0.2ms)[0m [0mSELECT * FROM `categories` ORDER BY name asc[0m |
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
@recipe = Recipe.find(params[:id],:include => [:user,:comments,:images,:flickrphotos,:newsfeeds,:avatars,:plannings,:favoriting_users,:favorites]) |
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
rocessing RecipesController#show (for 127.0.0.1 at 2009-03-12 14:19:55) [GET] | |
Session ID: 34efed253de0dc37b0abe6683682c66e | |
Parameters: {"action"=>"show", "id"=>"1764", "controller"=>"recipes"} | |
^[[4;35;1mCategory Load (4.8ms)^[[0m ^[[0mSELECT SQL_NO_CACHE categories.id, categories.name, COUNT(*) AS count FROM `categories` LEFT OUTER JOIN categories_recipes ON categories.id = categories_recipes.category_id GROUP BY categori$ | |
^[[4;36;1mCategory Columns (0.6ms)^[[0m ^[[0;1mSHOW FIELDS FROM `categories`^[[0m | |
^[[4;35;1mRecipe Load (56.3ms)^[[0m ^[[0mSELECT SQL_NO_CACHE `recipes`.*, t0.category_id as the_parent_record_id FROM `recipes` INNER JOIN `categories_recipes` as t0 ON `recipes`.id = t0.recipe_id WHERE (t0.category_id IN (35,12,5,2$ | |
^[[4;36;1mRecipe Columns (1.0ms)^[[0m ^[[0;1mSHOW FIELDS FROM `recipes`^[[0m | |
^[[4;35;1mUser Columns (0.9ms)^[[0m ^[[0mSHOW FIELDS FROM `users`^[[0m | |
^[[4;36;1mUser Load (0.2ms)^[[0m ^[[0;1mSELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = |
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
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/site_ruby/1.8/i486-linux -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -c grammar.c | |
In file included from grammar.c:2: | |
grammar.h:10:27: error: gee/arraylist.h: No such file or directory | |
grammar.h:11:25: error: gee/hashmap.h: No such file or directory | |
In file |
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
Backtrace: | |
---------- | |
NoMethodError (undefined method `find' for #<ActiveSupport::BufferedLogger:0x1a34660>): | |
[RAILS_ROOT]/app/controllers/recipes_controller.rb:215:in `update_xapian_index' | |
[GEM_ROOT]/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in `send' | |
[GEM_ROOT]/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in `evaluate_method' | |
[GEM_ROOT]/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:166:in `call' | |
[GEM_ROOT]/gems/actionpack-2.2.2/lib/action_controller/filters.rb:662:in `run_after_filters' |
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
/* | |
Jquery and Rails powered default application.js | |
Easy Ajax replacement for remote_functions and ajax_form based on class name | |
All actions will reply to the .js format | |
Unostrusive, will only works if Javascript enabled, if not, respond to an HTML as a normal link | |
respond_to do |format| | |
format.html | |
format.js {render :layout => false} | |
end | |
*/ |
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
gist:78094 |
OlderNewer