Questions tagged [journey]

32 questions
7
votes
1 answer

How does the Rails router Journey work?

Looking at the Readme of the Journey Router (which is the Rails 4.0 router), it is rather empty. I was wondering how the router works conceptually, and if this 'abstract' grammer is catching the idea, of the router as…
poseid
  • 6,986
  • 10
  • 48
  • 78
7
votes
2 answers

Routing error when updating to Rails 3.2.6 or Rspec 2.11.0

After upgrading to Rails 3.2.6 or Rspec 2.11.0, my specs starts to show routing errors like the following: 4) UsersController GET activate activation code not exist Failure/Error: subject{ get :activate } …
lulalala
  • 17,572
  • 15
  • 110
  • 169
3
votes
1 answer

Mermaid DiagrammeR journey

How can I solve this problem. I added the following line of code in my *.rmd file: DiagrammeR::mermaid(" journey title My working day section Go to work Make tea: 5: Me Go upstairs: 3: Me Do work: 1: Me, Cat section Go…
SebastianS
  • 477
  • 7
  • 14
3
votes
1 answer

JSF: How to execute some code on every time a navigation rule is executed?

Is there any way I can execute some code whenever a navigation rule is executed. Basically what I am trying to do is to have a JourneyTracker bean which will hold the current state of the journey (like the current page the user is in).
Nithin Satheesan
  • 1,546
  • 3
  • 17
  • 30
3
votes
2 answers

Devise /users/sign_in redirecting to wrong controller

Vitals: ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] Rails 3.2.7 Devise 2.1.2 The GET /users/sign_in is attempting to redirect to the wrong controller. It has stopped redirecting to wecome#welcome (which works), ans is now redirecting…
Len Jaffe
  • 3,442
  • 1
  • 21
  • 28
2
votes
1 answer

Using node-static and journey together

I'm using Node.js for the first time. I'm serving up static files with node-static and routing with journey. Unfortunately the two seem to conflict with each other, and I'm not sure of the best way to stop the conflict. My server looks like…
Skilldrick
  • 69,215
  • 34
  • 177
  • 229
2
votes
1 answer

Getting InArguments from Config.Json, Journey Builder, Marketing Cloud

I have been trying without success to understand how to work with the InArguments/OutArguments from Journey Builder on marketing cloud. I have been reading through the documentation on Marketingcloud as well as GitHub examples and still can't…
2
votes
2 answers

What are some of the problems with GTFS?

I am intersted in replacing my current data format that I use with GTFS, but I hear and read from here and there that there are flaws in GTFS file format. Most of the time I see that you can't somehow predict some things such as delays or some…
dimrizo
  • 479
  • 1
  • 5
  • 14
2
votes
1 answer

Rails style routing string parsing using Journey only

Given this mapping definition: /order/:meal/:cheese Parse this string /order/hamburger/american into {meal:'hamburger', cheese:'american'}. I was playing around with Journey's internals trying to figure out if this is possible outside of rails. …
squarism
  • 3,242
  • 4
  • 26
  • 35
1
vote
1 answer

Neo4j creating nodes and relationships from Bus route CSV

I have a CSV file with bus route information that looks like this. I am having trouble creating nodes and path relationships in Neo4j with it in this format. I would like to have nodes for the stops and routes, and routes between them using the…
Carmanders
  • 11
  • 1
1
vote
1 answer

How do I solve this NPE from trying to use Journey Browser

Using journey browser project I have set up a simple maven project in eclipse, using the dependency provided on the page, I have tried to run the code example (also provided on the page) And I get an NPE: Exception in thread "main"…
Link19
  • 586
  • 1
  • 18
  • 47
1
vote
1 answer

Trying to understand Journey::Path::Pattern#spec (internal of Rails routing)

Context: I'm solving a problem where I need an external audit program to be able to understand and "apply" Rails routes. One option for writing this external program could been to parse the output of rake routes, but that would unnecessarily end-up…
Saurabh Nanda
  • 6,373
  • 5
  • 31
  • 60
1
vote
0 answers

API to retrieve subscribers with statistics from journey in Marketing Cloud (former ExactTarget)

We have following task: In the Marketing Cloud there are few journeys created by Journey Builder. They all are assigned to different Data Extensions via Event Source. I'm going to receive all Data Extension rows that participate in specific Journey.…
1
vote
1 answer

Route errors in controller tests after upgrading rails and journey router

This is my route match "/:type/:brand/:model/:plate" => "site/vehicles#show", :constraints => {:plate => /[a-z]{3}\d{4}/}, :as => :vehicle It passes the route tests # the route test passess it "routes to #show" do {:get =>…
Marcelo
  • 1,702
  • 2
  • 24
  • 42
1
vote
1 answer

How to fix broken devise routing under journey 1.0.4

I began troubleshooting my "sudden" broken routes problem in this SO question: Devise /users/sign_in redirecting to wrong controller and with help I was able to isolate the issue to the upgrade from journey 1.0.3 to 1.0.4 that occurred when I…
Len Jaffe
  • 3,442
  • 1
  • 21
  • 28
1
2 3