rails 3.2.6 routing error -


I'm new to rail, I followed the book "First Rail with Head"

These are the steps I did:

  $ train ticket shaun @ master ~ / desktop / ticket $ railway scam ticket generated name: string seat_id_sag: string address: text value_pad: delays email_adder: string Sean @ Master ~ / Desktop / Ticket $ Rake Route Receipt Tickets / Ticket (. Format: Ticket) Ticket # Index Posts / Stamps (. Ticket # Create new ticket / receive new tickets (new:): New Edit / Ticket Receipt / Ticket / ID / Edit (. Format:) TICKET / TICKET / ADIDA (. PUT / TCTI: (.: Format) Ticket # Update Delit / TTK / Adid (Format:) Ticket # Destroy Shaun @ Master ~ / Desktop / Ticket $ Rake DB: Migrate == MakeTicket: Migrating ======== ======================================================= Twitter: Create Rated (0.1096) ========================================= When I am a localhost Trying to go to: 3000 / ticket This routing exits from the error and "Get a route mail [GET]" / ticket "& gt; GT started "Ticket" for July 19 08: 08 July for 19.68.1.8: 38 +0800 2012 database. IML Action Controller :: Routing Aroruf (no root matches [GET] "/ ticket") Connecting to the specified database: Action Pack (3.2.6) BB / Action_Dispatch / Middleware / Debug_expositions. BR: 21: In Call 'Action Pack (3.2.6) BB / Action_Dispatch / Middleware / Show_Exation. RB: 56: `Call 'Religions (3.2.6) Lib / Rail / Rack / Logger. RB: 26: In 'call_app' Raillets (3.2.6) Lib / rails / rack / logger.rb: 16: 'Call' in action pack (3.2.6) lib / action_dispatch / middleware / request_id.rb: 22: ` Call 'in rack (1.4.1) lib / rack / methodoverride .rb: 21: in' call 'rack (1.4.1) / lib / rack / runtime.rb: 17: `call' activation port (3.2.6) `Call 'rack (1.4.1) in / lib / active_support / cache / strategy / local_cache.rb: 72: liberalization / rack / lock. RB: 15: In 'Call' Action Pack (3.2.6), /action_dispatch/middleware/static.rb:62:IN 'Call' Religions (3.2.6) Lib / Rail / Engine RB: 47 9: Lib / Rail / Application in `Call Rails' (3.2.6) RB: 220: 'Call' in rack (1.4.1) Liberalization / Rack / Content_Lingh RB: 14: Lib / Rail / Rack / Log_tiler in `Call Rails' (3.2.6) RB: 17: In the `call 'rack (1.4.1) liberalization / rack / handler / vibric. RB: 59: `` Service / / URR / Lib / RBI / 1.8 / Vibric /httpserver.rb:104: `` Service / / ur / Lib / RUB / 1/8 / /httpserver.rb:65:IN in Vibrick 'Run' /usr/lib/ruby/1.8/webrick/server.rb:173:IN 'start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in`start '/ usr / lib / Ruby / 1.8 / webrick / server.rb: 162: IN`start_thread '/usr/lib/ruby/1.8/webrick/server.rb:95:in' start '/ usr / lib / ruby ​​/ 1.8 / wibric / server. RB: 92: Rb: 23: `start '/ /' in each '/usr/lib/ruby/1.8/webrick/server.rb:92:in' start '/usr/lib/ruby/1.8/webrick/server Ur / lib / ruby ​​/ 1.8 / webrick / server.rb: 82: in 'start' rack (1.4.1) lib / rack / handler / webrick.rb: 13: in 'run' rack (1.4.1) liberalization / Rack / serverRB: 265: Libre / Rail / Order / Server in `Start 'Raillet (3.2.6) RB: 70: `Start 'in Railway (3.2.6) Lib / Rail / Command. RB: 55 Raillet (3.2.6) Lib / Rail / Command. RB: 50: `Tap 'in Railway (3.2.6) OB / Rail / CommandRB: 50 Script / Rail: 6:' Script / Rail Required: 6 Rated /var/lib/gems/1.8/gems /actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error ARB in Quotation / Layout (2.8 mms)   

How do I solve it? I want to be able to see all the links to go to the main page and index, to be able to create, edit, show, update and delete a new ticket.

I did exactly as you wrote for a new Rail 3.2.6 app, and this Work fine for me The only step left by you was to run rake db: migrate after the scribold generation try and see that it works.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -