I ran ruby script/generate scaffold Ticket artist:string seat#:integer price:integer ticket_price:float in my terminal Then I entered rake db:migrate
I went to http://localhost:3000/tickets and I'm getting this error shown below, Showing app/views/tickets/index.html.erb where line #21 raised: compile error /Users/musdev/peepcode/views_demo/app/views/tickets/index.html.erb:21: syntax error, unexpected kEND, expecting ')' ; end ; @output_buffer.concat "\n</table>\n\n<br />\n\n" ^ /Users/musdev/peepcode/views_demo/app/views/tickets/index.html.erb:28: syntax error, unexpected kENSURE, expecting ')' /Users/musdev/peepcode/views_demo/app/views/tickets/index.html.erb:30: syntax error, unexpected kEND, expecting ')' Extracted source (around line #21): 18: <td><%= link_to 'Edit', edit_ticket_path(ticket) %></td> 19: <td><%= link_to 'Destroy', ticket, :confirm => 'Are you sure?', :method => :delete %></td> 20: </tr> 21: <% end %> 22: </table> 23: 24: <br /> I usually run the scaffold command and never had this issue before Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

