Displaying 20 results from an estimated 20000 matches similar to: "Routing ErrorRecognition failed for "/notes""
2006 Jun 13
0
Routing Error Recognition failed for "/notes"
I''m a noob to rails and i could use some help.
Fedora Core 5
Ruby 1.8.4
Rails 1.1.2
Postgres for My Database
Using webrick for testing at the monent but have lighttpd installed but
the service is diabled.
Here are my steps that i fillow.
In my home directory i type rails test
#cd test
#sudo chmod -R 775 log
#sudo chmod -R 775 public
#ruby script/server
Then i make my postgres database
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I
had everything working in a virtual machine and then set up a seperate
machine just for rails developement. It now seems something is broken a
little.
ruby 1.8.2, rails 0.10.1, postgres, using webrick:
i created a table "users", then "generate scaffold User"
view localhost/users works fine, shows the
2006 May 16
3
Installing the Postgres gem on Ubuntu
Hi,
I''m having difficulty installing the "postgres" gem. postgres-pr
installed fine, but whenever I run:
sudo gem install postgres
I get:
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/postgres-0.7.1 for inspection.
I''ve had a bit of a poke around, and
2007 Nov 17
0
Postgres sequencer and rails
Hi All,
I''m wrestle with postgres database and rails.
Finally it''s working but i need some explanation :
So :
I have a sequencer :
CREATE SEQUENCE players_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 4
CACHE 1;
ALTER TABLE players_id_seq OWNER TO squash;
Table :
CREATE TABLE players
(
id bigserial NOT NULL,
firstname character varying,
2006 Jul 06
5
Generate scaffold failing
Hi all,
Got a Win2k3 Server box (but this has been verified not to work also on
WinXP Pro SP2) with:
Ruby 1.8.2
Rails 1.1.4
PostgreSQL 8.1
The generate\scaffold script fails to generate the files inside the
app/model/views directories. It actually generates the view directory
but fails to produce any files.
The same thing works perfectly when I''m targetting MySQL.
So is this normal
2006 Jun 07
2
script/generate scaffold pluralizes class names
Hi everyone,
I''m a rails & ruby nuby, and this is my first post to the list.
Here''s my environment in case it helps diagnose my problem:
Ruby version
1.8.4 (powerpc-darwin8.6.0)
RubyGems version
0.8.11
Rails version
1.1.2
Active Record version
1.14.2
Action Pack version
1.12.1
Action Web Service version
1.1.2
Action Mailer version
1.2.1
Active Support version
1.3.1
I did
2007 Dec 22
3
Formatting looping display from mySQL table
Hi
I''m a noob to RoR. I have everything setup but can''t figure out to get
the list display as I would like. I''m sure this is very simple stuff. I
just haven''t figured it out yet :(
I hope someone can point me in the right direction :)
I have a mysql table "websites".
In it I have the following columns - Name, Url, Banner, Description
I created
2006 Jan 31
2
How did I end up with read-only access?
I''ve generated the standard scaffolding half a dozen times on play
databases on my own machine, but now I''m trying it for real against the
team''s development database (postgres) and I see to have ended up in
some sort of read-only mode. "list" will show my existing records and
"show" will drill down, as expected, but "New" or
2005 Mar 03
0
Scaffold in 0.10
Hi.
I''ve done following things:
>./scripts/generate model Someclass
added self.table_name in someclass.rb with my custom tablename
>./scripts/generate scaffold someclass
And it logs out following : ''mybase_dev.someclasses'' doesn''t exist: SHOW
FIELDS FROM someclasses ...
It seems generator just ignores my table name definition...
I''m noob to
2005 Mar 06
3
permission error in rake''s clone_structure_to_test
Hello,
When I try to run "rake clone_structure_to_test" on my project, I get
the following errors:
$ rake clone_structure_to_test
(in /home/www/cedscreening)
psql:db/development_structure.sql:8: ERROR: permission denied to set
session authorization
psql:db/development_structure.sql:16: ERROR: permission denied for
schema public
psql:db/development_structure.sql:34: NOTICE: CREATE
2007 Jun 26
1
Installation issues - rails non-existant...
So, I installed ruby1.8 and gems via apt-get on Debian Etch and typed
the usual
"gem install rails --include-dependencies".
Got a success message in the process and proceeded to install the
postgresql-driver to connect to the database via
"gem install postgres".
I had forgotten to get the development-packages, though (which yielded a
lot of errors but told me that the
2005 Mar 23
2
0.11 problems
I''ve upgraded to 0.11 this morning specifically to test out the
pagination stuff. When that didn''t work (didn''t recognise the command)
I deleted my project and recreated from scratch. So in short
rails projectname
cd projectname
edit config/database.yml (my database is postgres by the way)
ruby scripts/generate model Recordtype
ruby
2005 Apr 27
2
noob question: rhtml new/edit views and the date functionality
Hello All,
I''ve been playing with Rails - did the recipe/category sample from
onLamp.com - fairly straight forward - even got it working against
postgres.
Anyway, I''ve been appling rails to a small test project and I can''t
seem to get the syntax down or find a sample of how to use the date
control on a custom new/edit view. The CRUD (is that right?) that
automatically
2006 Jan 08
5
parse error in database.yml
Since upgrading to rails 1.0 I keep getting a parse error in database.yml.
I have tried multiple configurations of both mysql and postgres and
continue getting this error message when trying to generate a model or
scaffold.
-Andrew
2008 Jun 22
3
Routing Error No route matches "/employee/list" with {:method=>:get}
hi,
I am very frustrated by this error when I just put together a very
simple project from one of the textbook on RoR:
Routing Error
No route matches "/employee/list" with {:method=>:get}
For your reference,
#The following is EmployeesController.rb
class EmployeesController < ApplicationController
scaffold :employee # create scaffold code for controller
#
2006 Apr 29
4
Wild SQL -- public/500.html -- postgres-pr
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about
some wild left-join SQL that has nothing to do with my tables:
SQL (0.000000) NameError: undefined local variable or method `errors'' for
#<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid,
a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello.
I hope this is the right place to describe my problem ?
After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web
Service functional tests seem broken.
I upgraded rails (as the root user / administrator) with:
# gem update rails --include-dependencies
then I upgraded my application (as myself) with:
? rake rails:update
% rake rails:update:configs
After these steps,
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 Mar 17
4
Noob question about the "show" function
i''ve got a cool app going and it''s getting bigger and bigger, but now
i''m trying to customize the show function. i''m using the scaffold code
as a base but can''t seem to get anything to look right. i guess i''m
confused about how exactly the scaffold code works for the "show"
function. any help would be awesome! thanks.
jon
--