similar to: Mysql::Error #28000Access denied

Displaying 20 results from an estimated 11000 matches similar to: "Mysql::Error #28000Access denied"

2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is there anyone who explain to me what´s happens? Thanks See below: NoMethodError in Classified#show Showing app/views/classified/show.rhtml where line #17 raised: undefined method `updated_at'' for #<Classified:0x686c5e4> Extracted source (around line #17): 14: 15: <strong>Date Posted:</strong>
2008 May 09
0
NoMethodError in ClassifiedController#update
My project was working when I add new field category It is showing the error in create form and edit form i am sending u controller file as attechment this is my model(category.rb) dor category file class Category < ActiveRecord::Base has_many :classifieds end and this is edit.rhtml <h1>Editing Classified: <%= @classified.title -%></h1> <%= form_tag :action =>
2007 Jan 31
2
NoMethodError in ClassifiedController#create
Hope you can help. Getting the error message NoMethodError in ClassifiedController#create You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.save Here''s my controller code. I''m totally new to ruby on rails so help would be much appreciated class ClassifiedController <
2006 Aug 09
2
Gruff gives font-related error
Hello Railslist, I''m trying to get Gruff running on OSX Tiger (intel) with edge Rails. I''ve installed ImageMagick, Rmagick, FreeType and all their dependencies, or so I believe. (I''ve compiled them from source mostly, following a recent tutorial for Rails and ImageMagick on Intel Macs) While following the sample on the Gruff downloadpage (the one with the fruit), Rails
2006 May 24
4
AR foreign key problem.
Hello Railslist, (I''m using RadRails 0.6.3 on Windows XP with Ruby 1.8.4, Rails 1.1 and SQLite3) I have two tables in the database: "locations" and "customers": customers.sql --- id INT PRIMARY KEY name VARCHAR 255 address VARCHAR 255 postal_code VARCHAR 255 city VARCHAR 255 --- locations.sql --- id INT PRIMARY KEY postal_code TEXT longitude FLOAT latitude FLOAT
2006 Jul 14
1
Appending something to a Rails route?
Hello railslist, I''m trying to accomplish the following: The URL http://localhost:3000/page/news/edit should redirect to the URL http://localhost:3000/login I''ve accomplished this by setting up a route like: map.connect ''page/:name/edit'', :controller => "login" But this fails in the case of the following URL:
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2006 Nov 04
1
acts_as_tree repeats
Hello Railslist, I want to draw a simple single-table Acts_as_tree model. I''ve read some articles about it and read the API docs, and now I''ve got this running: in controller I have: --- def index @pages = Page.find(:all) end --- in the model for Page I have ofcourse: --- acts_as_tree :order => "position" --- in the helper I have; --- def
2006 Apr 01
6
how to use datepicker
This is the webpage: http://projects.exactlyoneturtle.com/date_picker/ I have downloaded and installed it. But how do I use in view page? This is the usual view with ordinary datetime_select: <p><label for="product_date_available">Date available</label><br/> <%= datetime_select ''product'', ''date_available'' %></p>
2006 Feb 16
1
HABTM -VS- belongs_to/has_many, for self-referential joins
Ok, David says on page 241 that sometimes a many-to-many relation with attributes are better implemented as an actual model instead of using HABTM. Well, I''ve got that situation and I can''t figure it out. All of the examples in the book have HABTM examples between 2 different tables, but I want to have a HABTM relation on 1 table with itself. (e.g., if I have a table Things,
2008 May 06
2
ActionController::InvalidAuthenticityToken in ClassifiedCon
I am editing a form it is taking the value but when i submit it it shows the message def edit @classified = Classified.find(params[:id]) end def update @classified = Classified.find(params[:id]) if @classified.update_attributes(params[:classified]) redirect_to :action => ''show'', :id => @classified else render :action => ''edit'' end end and this is my
2007 Nov 23
4
How to pin down location of views/shared directory ?
My app has a header & footer I want common to each section. They live in app/views/shared/_header.rhtml & _footer.rhtml. They are referenced by app/views/layouts/application.rhtml as one would expect: <div id="header"> <%= render :partial => ''shared/header'' %> </div> They contain many lines like this: <a
2020 Feb 25
3
RIOT 2020
I hope you don?t mind us using this mailing list for a small advertisement, but we think it is most relevant for this group: We'd like to invite you to RIOT 2020 - the 5rd workshop on R Implementation, Optimization and Tooling [1]. It will take place co-located with, and during, useR! 2020 in St. Louis on July 8th. RIOT is an excellent venue for deep technical discussions about R
2007 Dec 21
1
using apply to loop [SEC=UNCLASSIFIED]
Hi Louis, You could try this: # find the index of the maximum value in each row of _data_, # disregarding the last column classified <- apply(data[,-(nclass+1)],1,which.max) ## or, if the maximum may be repeated: classified <- apply(data[,-(nclass+1)], 1, FUN = function(x) which(x == max(x))) # the variable _truth_ is just the last column of _data_ ? truth <- data[,nclass + 1] ?table
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All, I am working through the ''depot'' sample application from the "Pragmatic Programmers" book on my powerbook. I was going through the install process on http://hivelogic.com/articles/2005/12/01/ ruby_rails_lighttpd_mysql_tiger and it seemed to work fine. But when I try to create the first table, I get the following error, and I have no idea what this means. Any
2008 Oct 13
1
Logistic Regression - Interpreting SENS (Sensitivity) and SPEC (Specificity)
Hi Hi I am working on credit scoring model using logistic regression. I havd main sample of 42500 clentes and based on their status as regards to defaulted / non - defaulted, I have genereted the probability of default. I have a hold out sample of 5000 clients. I have calculated (1) No of correctly classified goods Gg, (2) No of correcly classified Bads Bg and also (3) number of wrongly
2010 Jan 29
4
simple captcha image not displaying
Attached is an image of my problem but here goes. Installed RoR to run Raillist. I installed it per instructions and everything seems to be working great except I can''t get my captcha images to show I am not sure what the problem is as I am a complete noob to RoR. Any pointers towards a direction to fix would be greatly appreciated! If you need to the site address is secondlist dot org.
2008 Oct 13
4
Fw: Logistic regresion - Interpreting (SENS) and (SPEC)
Dear Mr Peter Dalgaard and Mr Dieter Menne, I sincerely thank you for helping me out with my problem. The thing is taht I already have calculated SENS = Gg / (Gg + Bg) = 89.97% and SPEC = Bb / (Bb + Gb) = 74.38%. Now I have values of SENS and SPEC, which are absolute in nature. My question was how do I interpret these absolue values. How does these values help me to find out wheher my model is
2010 May 14
1
point.in.polygon() in sp package: accuracy problems?
Dear list: I encountered some problems using the function point.in.polygon() of the sp package, when trying to determine whether some points lye inside, outside, on the border or on a vertice of a polygon. I have a list of point I know should lye right on the border of a polygon, but some of them are not classified as such by point.in.polygon() (see the example code below). To make a long story
2009 Mar 27
2
Remove error data and clustering analysis
Hi, all, I?d like to do the clustering analysis in my dataset. The example data are as follows: Dataset 1: 500, 490, 486, 490, 491, 493, 480, 461, 504, 476, 434, 500, 470, 495, 3116, 3142, 12836, 3062, 3091, 3141, 3177, 3150, 3114, 3149; Dataset 2: 506, 473, 495, 494, 434, 459, 445, 475, 476, 128367, 470, 513, 466, 476,482, 1201, 469, 502; I had so many datasets like that. Basically, every