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
// ==UserScript== | |
// @name MrOrange - Read forms | |
// @namespace http://travelpartner.se | |
// @description Set all input fields to disabled=false | |
// @include https://*.travelpartner.se/admin/* | |
// @include https://*.travelpartner.com/admin/* | |
// ==/UserScript== | |
(function() { | |
var cells = document.getElementsByTagName("input"); |
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
find authlogic-2.1.6 | |
authlogic-2.1.6 | |
authlogic-2.1.6/.gitignore | |
authlogic-2.1.6/authlogic.gemspec | |
authlogic-2.1.6/CHANGELOG.rdoc | |
authlogic-2.1.6/generators | |
authlogic-2.1.6/generators/session | |
authlogic-2.1.6/generators/session/session_generator.rb | |
authlogic-2.1.6/generators/session/templates | |
authlogic-2.1.6/generators/session/templates/session.rb |
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
require 'rubygems' | |
require 'mechanize' | |
a = Mechanize.new { |agent| | |
agent.user_agent_alias = 'Mac Safari' | |
} | |
a.get('http://www.finn.no/finn/travel/air/search') do |page| | |
search_result = page.form_with(:action => '/finn/travel/air/progress') do |search| | |
search.locOriginName = 'Stockholm' |
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
Feature: User session creation | |
As a member | |
I want to log in | |
So that I get access to member functionality | |
Scenario: Not registred | |
Given I am on the login page | |
When I fill in the following: | |
| Email | [email protected] | | |
| Password | secret | |
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
ip-10-48-137-179:/tmp/testbot | |
Could not find activesupport-2.3.11 in any of the sources |
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
testbot!newsdesk *> gem list testbot | |
*** LOCAL GEMS *** | |
testbot (0.5.6) | |
testbot!newsdesk *> ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.5.6' | |
Initialized empty Git repository in /Users/kristian/git/newsdesk/vendor/plugins/testbot/.git/ | |
remote: Counting objects: 98, done. | |
remote: Compressing objects: 100% (78/78), done. | |
remote: Total 98 (delta 9), reused 35 (delta 0) |
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
Connection to nd-cl1-as1.newsdesk.se closed. | |
master!newsdesk *> command bundle exec cap staging deploy | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_deploy) | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_update_code) | |
* executing `staging' | |
Specify branch to deploy: master | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' |
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
acts_as_material similar_items instance method should return pressreleases that matches this item (TODO) | |
./spec/models/acts_as_material_spec.rb:403 | |
1) | |
'acts_as_material search method pressreleases should index pressroom_id and make it searchable with :pressrooms => [1,2,3]' FAILED | |
expected #<Fixnum:17> => 8 | |
got #<Fixnum:19> => 9 | |
Compared using equal?, which compares object identity, |
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
579c013f (Richard Johansson 2008-02-25 15:11:35 +0000 1) class MediaAlert < Alert | |
00000000 (Not Committed Yet 2011-06-22 09:28:52 +0200 2) delegate :email, :to => :media | |
cc953fd1 (Richard Johansson 2008-03-06 12:26:08 +0000 3) validates_presence_of :media | |
cc953fd1 (Richard Johansson 2008-03-06 12:26:08 +0000 4) | |
94dbbc2b (Richard Johansson 2008-02-28 12:15:41 +0000 5) def validate | |
00000000 (Not Committed Yet 2011-06-22 09:28:52 +0200 6) self.errors.add_to_base(I18n.t(:'media_alert.errors.media_email_presence')) if email.blank? | |
94dbbc2b (Richard Johansson 2008-02-28 12:15:41 +0000 7) end | |
94dbbc2b (Richard Johansson 2008-02-28 12:15:41 +0000 8) | |
579c013f (Richard Johansson 2008-02-25 15:11:35 +0000 9) belongs_to :media | |
579c013f (Richard Johansson 2008-02-25 15:11:35 +0000 10) |
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
commit 71add8105fd6802ff4198096aa35a3d06bab09fb | |
Author: Tomasz Warkocki <[email protected]> | |
Date: Wed Dec 1 13:55:24 2010 +0100 | |
changed mnduser google analytics value from md5 to id | |
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb | |
index 529e479..bd47d6b 100644 | |
--- a/app/helpers/application_helper.rb | |
+++ b/app/helpers/application_helper.rb |
OlderNewer