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
| $ rake db:setup --trace | |
| ** Invoke db:setup (first_time) | |
| ** Invoke db:create (first_time) | |
| ** Invoke db:load_config (first_time) | |
| ** Invoke rails_env (first_time) | |
| ** Execute rails_env | |
| ** Execute db:load_config | |
| ** Execute db:create | |
| ** Invoke db:schema:load (first_time) | |
| ** Invoke environment (first_time) |
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
| def search | |
| @per_page = 20 | |
| @page = (params[:page] && params[:page].to_i) || 1 | |
| params[:category_filters] ||= {} | |
| all_ideas = Idea.search_tank(params['searchterm'], | |
| :category_filters => params[:category_filters]).select { | |
| |result| result.published?} | |
| @idea_count = all_ideas.length |
NewerOlder