{"action":"created","issue":{"url":"https://api.github.com/repos/slick/slick/issues/1084","labels_url":"https://api.github.com/repos/slick/slick/issues/1084/labels{/name}","comments_url":"https://api.github.com/repos/slick/slick/issues/1084/comments","events_url":"https://api.github.com/repos/slick/slick/issues/1084/events","html_url":"https://github.com/slick/slick/issues/1084","id":57778090,"number":1084,"title":"3.0 - Force action to run in a session","user":{"login":"n3ziniuka5","id":584566,"avatar_url":"https://avatars.githubusercontent.com/u/584566?v=3","gravatar_id":"","url":"https://api.github.com/users/n3ziniuka5","html_url":"https://github.com/n3ziniuka5","followers_url":"https://api.github.com/users/n3ziniuka5/followers","following_url":"https://api.github.com/users/n3ziniuka5/following{/other_user}","gists_url":"https://api.github.com/users/n3ziniuka5/gists{/gist_id}","starred_url":"https://api.github.com/users/n3ziniuka5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3ziniuka5/subscriptions","organizations_url":"https://api.github.com/users/n3ziniuka5/orgs","repos_url":"https://api.github.com/users/n3ziniuka5/repos","events_url":"https://api.github.com/users/n3ziniuka5/events{/privacy}","received_events_url":"https://api.github.com/users/n3ziniuka5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-16T08:47:59Z","updated_at":"2015-11-20T16:18:08Z","closed_at":"2015-02-17T07:53:18Z","body":"I am trying our the 3.0.0-M1 API.\r\nIs there a way to run an action in a certain session? I am aware that you can combine actions and those will run in a session, but that may be hard to achieve in certain cases.\r\nI am using specs2 for testing and I am trying to create a transaction before each test and then rollback that transaction. I am using `Around` wrapper fro that\r\n````\r\ndb.withTransaction { implicit session =>\r\n  try {\r\n    testCase\r\n  } finally {\r\n    session.rollback()\r\n  }\r\n}\r\n````\r\n\r\nThen in my testcase I have calls to methods that accept implicit session and create actions and run them with `db.run`. However, there is no way to tell the action to run in that implicitly passed session which means that all of the actions in my test case are always committed."},"comment":{"url":"https://api.github.com/repos/slick/slick/issues/comments/158447982","html_url":"https://github.com/slick/slick/issues/1084#issuecomment-158447982","issue_url":"https://api.github.com/repos/slick/slick/issues/1084","id":158447982,"user":{"login":"xevix","id":510743,"avatar_url":"https://avatars.githubusercontent.com/u/510743?v=3","gravatar_id":"","url":"https://api.github.com/users/xevix","html_url":"https://github.com/xevix","followers_url":"https://api.github.com/users/xevix/followers","following_url":"https://api.github.com/users/xevix/following{/other_user}","gists_url":"https://api.github.com/users/xevix/gists{/gist_id}","starred_url":"https://api.github.com/users/xevix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xevix/subscriptions","organizations_url":"https://api.github.com/users/xevix/orgs","repos_url":"https://api.github.com/users/xevix/repos","events_url":"https://api.github.com/users/xevix/events{/privacy}","received_events_url":"https://api.github.com/users/xevix/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:18:08Z","updated_at":"2015-11-20T16:18:08Z","body":"@szeiger I'd love to. This may be a bit meta, but should I also add a tidbit in the Sphinx docs about how to build Sphinx docs? I figured it out from http://doc.akka.io/docs/akka/snapshot/dev/documentation.html#Installing_Sphinx_on_OS_X . "}}