Skip to content

Instantly share code, notes, and snippets.

View jesjos's full-sized avatar

Jesper Josefsson jesjos

  • Mariehamn, Åland
View GitHub Profile
import java.util.ArrayList;
class Run {
public static void main (String[] args) {
FotbollsLag team1 = new FotbollsLag("BK Hejsan");
FotbollsLag team2 = new FotbollsLag("BK Nej");
FotbollsLag team3 = new FotbollsLag("BKKK");
class Run {
public static void main(String [] args) {
Skipcheck skip = new Skipcheck(100000000);
skip.tester();
}
}
# Console dump
jesper-josefssons-macbook-pro:blog2 jesper$ rails server
=> Booting WEBrick
=> Rails 3.0.0.beta3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Library/Ruby/Gems/1.8/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/session/cookie_store.rb:178:in `ensure_session_key': A key is required to write a cookie containing the session data. Use config.action_controller.session_store :cookie_store, { :key => "_myapp_session" } in config/application.rb (ArgumentError)
from /Library/Ruby/Gems/1.8/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/session/cookie_store.rb:88:in `initialize'