From 9df59527780bb9f8e9b79fc134c8f6f2fd94a53c Mon Sep 17 00:00:00 2001 From: r888888888 Date: Wed, 29 May 2013 13:21:24 -0700 Subject: [PATCH] typo fix --- app/models/post_flag.rb | 2 +- db/structure.sql | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/models/post_flag.rb b/app/models/post_flag.rb index 1b17bc789..80e1ef9df 100644 --- a/app/models/post_flag.rb +++ b/app/models/post_flag.rb @@ -45,7 +45,7 @@ class PostFlag < ActiveRecord::Base if params[:is_resolved] == "true" q = q.resolved - elsif params[is_resolved] == "false" + elsif params[:is_resolved] == "false" q = q.unresolved end diff --git a/db/structure.sql b/db/structure.sql index e25075b5a..7302164fb 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2096,7 +2096,8 @@ CREATE TABLE pools ( post_count integer DEFAULT 0 NOT NULL, is_deleted boolean DEFAULT false NOT NULL, created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone NOT NULL + updated_at timestamp without time zone NOT NULL, + category character varying(255) DEFAULT 'series'::character varying NOT NULL ); @@ -6412,4 +6413,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130409191950'); INSERT INTO schema_migrations (version) VALUES ('20130417221643'); -INSERT INTO schema_migrations (version) VALUES ('20130424121410'); \ No newline at end of file +INSERT INTO schema_migrations (version) VALUES ('20130424121410'); + +INSERT INTO schema_migrations (version) VALUES ('20130506154136'); \ No newline at end of file