similar to: Strange XML Parse Error

Displaying 20 results from an estimated 100000 matches similar to: "Strange XML Parse Error"

2005 Sep 19
2
warning: already initialized constant
Hello all. I''m new to Rails and working on replacing an existing Perl based app. Everything has been smooth, and I''m beginning to get the hang of things. I just implemented DB based photo handling, with code directly from the Pragmatic Rails book. Here''s a fresh server log of my app, with a logged in user (by cookie and session) getting a list of his photos. The
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello, I have Oracle XE installed. I have a table USERS. When I try to generate a scaffold it gives me this error. I tried also with Mysql and it worked. E:\radrails\projects\MPS>ruby script\generate scaffold user exists app/controllers/ exists app/helpers/ create app/views/user exists test/functional/ dependency model exists app/models/ exists
2006 Aug 13
5
Newbie question: scaffold not working
I went through a tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 to get started with RoR. I really like the idea of the scaffold construct, but I can''t seem to get it to work the way it was described in the tutorial. I''ve got a mysql database that is properly configured, and a table called ''quotes'' with a column called
2006 Apr 07
0
Dynamic Scaffolding vs. ScaffoldGenerator
I asked this question before, but didn''t get any response. I hope someone can give me some clue now. Here''s the background, I upgraded to rails 1.1 and suddenly I was getting strange failures in my functional tests. I traced the problem to dynamic scaffolding. I had overwritten all of scaffold''s methods in my controller (all but show and destroy). Destroy no
2008 Feb 21
1
Creating incorrect plurals when generating scaffold
Preface: I''m trying to find my way through the "Build Your Own Ruby on Rails Web Application" book. I''m completely new to programming and am having a hard time figuring out the differences between rails 2.0.2 and what''s in the book so please forgive me if this is a stupid question. I''m confused because I finally thought I''d figured out the
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
Hi I''m new to Rails (and Ruby) and I can''t get it to work properly. Every time I want to do something with my database-connection (e.g. use scaffold) I get this, or something similiar (from development.log): >> Beneath this code there''s some more text << ------- Processing CategoryController#index (for 127.0.0.1 at Tue Apr 26 21:43:45 CEST 2005)
2006 Apr 16
0
scaffolding issue - new action defaults to list action
I''m creating a photo blog with ror. The front end has gone great, so now I''m working on the back end, and was playing with scaffolding. I generated these scaffolds: ruby script/generate scaffold Photo admin/photo ruby script/generate scaffold Camera admin/camera Then, in my routes, I added this line: map.connect ''/admin'',
2006 May 04
9
Help: wrong number of arguments (0 for 1)
Is it my environment? Is something wrong, cause I thought this should just work? I have a simple table and I created a model and a controller: ruby script/generate controller Restaurant ruby script/generate model Restaurant I edited the controller to this: class RestaurantController < ApplicationController scaffold :Restaurant end I run it and: http://0.0.0.0:3000/Restaurant works fine,
2005 Mar 03
7
Another question about the tutorial
Hello After upgrading to ruby 1.8.2, finally got rails to install properly. Now, following the tutorial, I found a couple of things: First, apparently rails tries to establish local mysql connections using "/tmp/mysql.sock" which mandrake does not use. In mandrake 10.1, this file is located at "/var/lib/mysql/mysql.sock". The solution is to create a simlink
2007 Feb 28
0
AWS - XML-RPC Server
I am writing code to setup an AWS Server. I am able to test all the values accurately using web_service_scaffold :test, but when I try to connect by creating an XML-RPC client i am getting a timeout error = execution expired I am using delegated dispatching web_service_name: update_shipping method_name: update_product_status I am trying to test the function by implementing an XML-RPC client to
2006 Apr 05
3
Rails 1.1 and webrick/mysql problems
i just upgraded to rails 1.1 yesterday and since then i could?nt make it work with mysql, for example i have my database "todo" and one table "todos", i create the app and generate the model but when i try to generate the scaffold with "ruby script/generate scaffold Todo Todo" i get this error " error Before updating scaffolding from new DB schema, try
2006 Jan 27
5
Newbie:Adding a new Table-Strange Error
Hi Everybody, I am a newbie in this list so please forgive me if this is a lengthy message. Currently I am working on a project at my work place that includes viewing some oracle tables(I do not have control over to rewrite the tables) and searching the tables based on a given criteria with Rails. Up untill now everything was working great. The database consists of a lot of tables but I was
2006 May 03
0
Newbie Help
Is it my environment? Is something wrong, cause I thought this should just work? I have a simple table and I created a model and a controller: ruby script/generate controller Restaurant ruby script/generate model Restaurant I edited the controller to this: class RestaurantController < ApplicationController scaffold :Restaurant end I run it and: http://0.0.0.0:3000/Restaurant works
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody, I''ve been reading lot of material about Ruby on Rails, and it looks like really rocks. I''ve downloaded the one-click version for Windows and started to build the example cookbook app, found in: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 Everything looks good, but when I''m trying to create a new Recipe
2006 Jun 14
5
uninitialized constant error after scaffold on new Windows XP environment
I am attempting to get a working Rails programming environment setup working under XP with MySQL, RadRails and Webrick. I have been using my PowerBook but need to working on Windows environment too. I have basic functions of Ruby and Rails going. I created a really simple table and generated the scaffolding. The server starts just fine. I can browse the database succesfully in RadRails. The issue
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application presented in Agile Web Development with Rails (AWDwR). I am using InstantRails for the server. In my app I have the folowing controllers: admin_controller application_controller city_map_controller (with method: displayGMap) The admin_controller was created with the following command: ruby script/generate scaffold
2005 Nov 30
2
Missing scaffold features
Hello everyone, First off, I''m trying to generate a discussion here, not provoke an argument or get people upset. Please bear this in mind if/as you read on... To my mind, there''s 3 missing features from scaffolds that would make them a whole lot more useful. These are: - auto-generation of a drop-down list for inputting/updating has_many/belongs_to relationships between
2005 Apr 16
2
[brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
Hello All-- I am brand new to Ruby on Rails. I have downloaded the most recent stable versions. I do see the congrats page, but I am receiving an error in WEBrick when connecting to my first page: Rails application started on http://0.0.0.0:3000 [2005-04-15 19:34:59] INFO WEBrick 1.3.1 [2005-04-15 19:34:59] INFO ruby 1.8.2 (2004-12-25) [i686-linux] [2005-04-15 19:34:59] INFO
2006 Jul 22
2
Error: Before updating scaffolding from new DB schema, try..
Hi, I''m going through the Depot tutorial in the book "Agile Web Development with Rails" and I can''t even get past the very first step. I''m getting the following error: "Before updating scaffolding from new DB schema, try creating a table for your model (Product)" when I try to run "ruby script/generate scaffold Product Admin. I have a table
2007 May 30
2
Bug? Filter chain halted as [#<ActionController::Filters::..
OK so I''ve been trying to follow the tutorial here: http://rails.homelinux.org/ When I simply do "scaffold: category" in the controller.rb, everything works fine. BUT after I generate the controllers and other files using scaffold AS A SCRIPT (script/generate scaffold categories), DESTROY (or DELETE) does not work for any record in a table. This is the error I got: Processing