similar to: Re: [ocruby] iteration A1 in ebook: scaffold gets: routing error

Displaying 20 results from an estimated 600 matches similar to: "Re: [ocruby] iteration A1 in ebook: scaffold gets: routing error"

2006 Jun 05
0
iteration A1 in ebook: scaffold gets: routing error
hi, on page 82 of second edition, getting stuck after making: class AdminController < ApplicationController scaffold :product end running the server and going to: http://localhost:3000/admin gets: ActionController: Exception caught routing error Recognition failed for "/admin" did i miss a step somewhere? thanks --- vice-chair http://ocjug.org/
2006 Jun 06
15
error working through Agile !!!
Hi everyone, I''m working my way thru the ''Depot'' project from Agile Web Development with Rails. I got to the bit where I type: ruby script/generate scaffold Product admin And I get the following error: error Before updating scaffolding from new DB schema, try creating a table for your model (Product) ( on the last line ! ) Now I have followed everything as
2008 Dec 20
3
rake aborted (wrong number of arguments)
I''m following a tutorial here to get some columns in my database. I generated a model called ''product'' then I edited ''db/001_create_products.rb'' to have a few columns but when I try to migrate I get this error: bio4054059:depot rmorourk$ rake db:migrate (in /Users/rmorourk/Sites/depot) == CreateProducts: migrating
2007 Aug 12
10
about chinese display
hello: I have built a project with Instant Rails.Now only a database and a scaffold based on a product model have finished.But when i inputted "../admin/list" in my browser,i found my chinese characters cound not display normally.Then i made five steps: 1 ajusting encoding in my browser menu 2 in "C:\InstantRails\conf_files\my.ini"directory,making sure
2009 Aug 31
1
mysql error
Hi List i'm trying to setup my sever but in my terimal all i seam get is this message but cant go on . could someone help us out many thx's Mike yum install mysql mysql-server Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.optus.net * updates: mirror.optus.net * addons: mirror.optus.net * extras: mirror.optus.net Setting up Install Process
2017 Nov 17
2
Log rotation and combining...
That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed? Ethon > On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at KnoxvilleChristian.org <mailto:bill at KnoxvilleChristian.org>> wrote: > > I believe you need a 'create' statement to set the permissions. Here > is an example for mariadb: >
2011 Mar 22
2
Problems with SQLite3
Hi! I''ve got a very strange problem. Suddenly the SQLite3 Backend stopped working. Example 1: > rake db:rollback == CreateProducts: reverting ================================================= -- drop_table(:products) rake aborted! An error has occurred, this and all later migrations canceled: SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE
2017 Nov 17
0
Log rotation and combining...
I believe you need a 'create' statement to set the permissions. Here is an example for mariadb: /var/log/mariadb/general.log /var/log/mariadb/slow_query.log /var/log/mariadb/error.log /var/log/mariadb/mariadb.log { ??????? create 640 mysql mysql ??????? daily ??????? minsize 30M ??????? notifempty ??????? rotate 3 ??????? missingok ??????? compress ??????? sharedscripts ???????
2017 Nov 17
0
Log rotation and combining...
Hi, Your crontab should normally mail you error output. But you can also run the logrotate command manually, in verbose mode. Kind regards, Tom On 17-11-17 03:35, SH Development wrote: > That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed? > > Ethon > > > >> On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at
2009 Aug 05
2
MySQL noob question: Where can I find the database when I create one?
See my screenshot of the command here. http://a.imagehost.org/0843/mysqladmin.png When I type the following: mysqladmin create <database_name> --user=root --password=xxxxxxxx Is my command executed simply by pressing "Enter" after the command? Am I missing some syntax? If the command has been executed , what directory can I find this database? How does this relate to MySQL
2017 Nov 18
0
Log rotation and combining...
HI, Do you have selinux activated? Maybe the context for logrotate does not allow accessing files under /home, and the root cli is not troubled by such a limitation? Why are you storing log files under /home anyway? Note: I don't use any OS with selinux, so can't really help with fixing this an issue. Regards, Tom On 17-11-17 22:42, SH Development wrote: > So, the question is, why
2017 Nov 17
2
Log rotation and combining...
So, the question is, why can I rotate the log manually, but cron returns a permission error? Do I need to tell cron to run it as sudo or something like that? Ethon > On Nov 17, 2017, at 2:29 AM, Tom Hendrikx <tom at whyscream.net <mailto:tom at whyscream.net>> wrote: > > Hi, > > > Your crontab should normally mail you error output. But you can also run > the
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello. This is my mysql-server.pp file, both master and client are runing ubuntu. -------------------- class mysql-server { package { "mysql-server": ensure => installed } package { "mysql-client": ensure => installed } service { "mysql": enable => true, ensure => running, require => Package["mysql-server"], } file
2011 Apr 03
3
error: 'Access denied for user 'root'@'localhost' <using password: NO>'
rails railscoders --database=mysql created the directory with folders except for a ''components/'' folder which Practical Rails by Alan Bradburne lists as one of the folders created. Continuing with: mysqladmin -u root create railscoders_development returns this: mysqladmin: connect to server at ''localhost'' failed error: ''Access denied for user
2014 Oct 06
2
restarting mysql databases
I am doing an install of a mysql system, and decided that I needed to change some things like host name. So I have to go back to square one with the mysql setup, but can't find any instructions for this. I TRIED: mysql_install_db And it did SOMETHING, but mysqladmin -u root password 'mypass' failed with: mysqladmin: connect to server at 'localhost' failed error:
2007 Dec 03
1
install and mysql issues
this is the versions i have installed: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Mark Johnson>ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] C:\Documents and Settings\Mark Johnson>rails -v Rails 1.2.6 C:\Documents and Settings\Mark Johnson>mysql -v ERROR 1045 (28000): Access denied for user
2005 Jan 01
1
Problems to use asterisk with mysql /odbc
hi, i.m. newbie in asterisk. asterisk 1.0.3 is my current version. i like to store usernames and passwords in a sql database. i like to log failed authentification-passwords, to create a blacklist for securityreasons. i thingk a sql-database is a good way to log these actions. i don.t find debugging-options to output invalid login-passwords. Ok, i have made the following: debian is my OS.
2008 Sep 22
0
проблема gem install mysql CenOS
Всем Привет. Пытаюсь по руководству ( http://www.html-blog.ru/2008/8/26/rails-on-agava-vps ), поставить rails на CentOS 5.2. Когда пытаюсь поставить gem install mysql, получаю: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb install mysql checking for mysql_query() in
2007 Dec 02
0
Rails Tutorial - mySQL doesn't connect in InstantRails...
For those of you familiar with InstantRails or even MySQL I guess, I''m working through the Agile Depot tutorial, and when I tried to create the DB I got the following: C:\work\depot>mysqladmin -u root create depot_development mysqladmin: connect to server at ''localhost'' failed error: ''Can''t connect to MySQL server on ''localhost''
2009 Aug 27
1
Fatal: Dovecot is already running
We had a power outage here last night, and when the server rebooted, dovecot was unable to launch properly: 8/27/09 2:08:25 AM com.apple.SystemStarter[31] Starting dovecot 8/27/09 2:08:25 AM com.apple.SystemStarter[31] Fatal: Dovecot is already running with PID 143 (read from /usr/local/var/run/dovecot/ master.pid) 8/27/09 2:08:25 AM SystemStarter[31] dovecot (115) did not complete