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 |
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
Salattu yhteys: ohittamaton virhe (552) | |
https://localhost:3000/signatures/1/returning/Alandsbankentesti?B02K_VERS=0002&B02K_TIMESTMP=60020120702133618000001&B02K_IDNBR=0000004296&B02K_STAMP=2012070213343993412&B02K_CUSTNAME=DEMO+ANNA&B02K_KEYVERS=0001&B02K_ALG=03&B02K_CUSTID=010170-960F&B02K_CUSTTYPE=08&B02K_MAC=1909BF6B9FD632116D51D5911E5EBCE5ACFAF2212B2B98EE031DDC03E87F9E14 | |
Opera ei voinut yhdistää palvelimeen, koska palvelin ei käytä mitään Operan tunnistamaa suojattua yhteyskäytäntöä. |
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
IndexTank::HttpCodeException in Citizens::SessionsController#create | |
Rails.root: /mnt/data/Avoin Ministerio/avoinministerio | |
Application Trace | Framework Trace | Full Trace | |
/usr/share/ruby-rvm/gems/ruby-1.9.3-p125/bundler/gems/tanker-6f0d0cb82560/lib/indextank_client.rb:64:in `execute' | |
/usr/share/ruby-rvm/gems/ruby-1.9.3-p125/bundler/gems/tanker-6f0d0cb82560/lib/indextank_client.rb:22:in `PUT' | |
/usr/share/ruby-rvm/gems/ruby-1.9.3-p125/bundler/gems/tanker-6f0d0cb82560/lib/indextank_client.rb:138:in `add_document' | |
/usr/share/ruby-rvm/gems/ruby-1.9.3-p125/bundler/gems/tanker-6f0d0cb82560/lib/tanker.rb:404:in `update_tank_indexes' | |
activesupport (3.1.6) lib/active_support/callbacks.rb:401:in `_run_save_callbacks' |
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 tanker:reindex --trace | |
** Invoke tanker:reindex (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute tanker:reindex | |
reindexing all models | |
Indexing Citizen model | |
rake aborted! | |
/usr/share/ruby-rvm/gems/ruby-1.9.3-p125/bundler/gems/tanker-6f0d0cb82560/lib/indextank_client.rb:64:in `execute' |
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
3) Idea signing white-box testing the citizen attempts to use shortcut fillin but has not authenticated | |
Failure/Error: visit signature_idea_shortcut_fillin_path(idea.id) | |
NameError: | |
undefined local variable or method `redirect_to_introduction' for #<SignaturesController:0xcab424c> | |
# ./app/controllers/signatures_controller.rb:318:in `shortcut_fillin' | |
# ./spec/acceptance/signing/idea_signing_spec.rb:563:in `block (3 levels) in <top (required)>' |
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
3) Idea signing white-box testing the citizen attempts to sign with shortcut_fillin but has not authenticated | |
Failure/Error: should_be_on signature_idea_introduction(idea.id) | |
expected: "/ideat/1/introduction" | |
got: "/signatures/1/shortcut_finalize_signing" (using ==) | |
# ./spec/acceptance/support/helpers.rb:74:in `should_be_on' | |
# ./spec/acceptance/signing/idea_signing_spec.rb:590:in `block (3 levels) in <top (required)>' |
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
jyrki@Jyrki:/mnt/data/Avoin Ministerio/avoinministerio$ git config pull.rebase false | |
jyrki@Jyrki:/mnt/data/Avoin Ministerio/avoinministerio$ git pull avoinministerio master | |
From github.com:avoinministerio/avoinministerio | |
* branch master -> FETCH_HEAD | |
Merge made by the 'recursive' strategy. | |
jyrki@Jyrki:/mnt/data/Avoin Ministerio/avoinministerio$ git push | |
Counting objects: 7324, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (1786/1786), done. | |
Writing objects: 100% (7048/7048), 690.64 KiB, done. |
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
jyrki@Jyrki:/mnt/data/Avoin Ministerio/avoinministerio$ git checkout master | |
Switched to branch 'master' | |
jyrki@Jyrki:/mnt/data/Avoin Ministerio/avoinministerio$ git pull avoinministerio master | |
From github.com:avoinministerio/avoinministerio | |
* branch master -> FETCH_HEAD | |
First, rewinding head to replay your work on top of it... | |
Applying: Facebook login progess started. Not working yet. | |
Using index info to reconstruct a base tree... | |
<stdin>:131: trailing whitespace. | |
OlderNewer