My Recent Pastes (141 and counting)
All Pasties (over 141 and counting)
Below are summaries of the 6 most recent pasties by Brian Donovan.
October 18, 2006
9:34PM EDT
by Brian Donovan
View more (123 lines)
1 2 3 4 5 |
Index: test/test_helper.rb =================================================================== --- test/test_helper.rb (revision 407) +++ test/test_helper.rb (working copy) @@ -10,6 +10,7 @@ |
October 18, 2006
8:41PM EDT
by Brian Donovan
1 2 3 4 5 |
Tag.with_category(current_category) do
@tag_pages = Paginator.new self, current_user.recommended_tags_count, 30, params[:page]
@tags = current_user.recommended_tags :offset => @tag_pages.current.offset, :limit => @tag_pages.items_per_page
@my_interests = current_user.explicit_interests
end
|
October 17, 2006
4:44PM EDT
by Brian Donovan
1 |
SELECT * FROM tags LEFT JOIN interests ON tags.id = interests.tag_id AND interests.user_id = 1 WHERE interests.tag_id IS NULL AND tags.category_id = 3 |
October 17, 2006
1:45PM EDT
by Brian Donovan
View more (17 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>changed</key>
|
October 16, 2006
11:32PM EDT
by Brian Donovan
1 |
require File.dirname(__FILE__) + '/../test_helper' |
Pastie