Displaying 20 results from an estimated 30000 matches similar to: "Rails to English"
2007 Aug 06
4
problem with rails_root
Hi everybody,
I used a openseradmin who is based on rubygem (i suppose ), so when i
start my server of this openseradmin in the http://localhost:3000, i
reciceved some messages like this:
SocketError in LoginController#login
getaddrinfo: Name or service not known
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2008 Jun 04
2
gem_original_require
Hi all,
my computer decide to take a dirt nap today so I am trying to relaod
rails on another machine and I am getting this error message which I
can''t make heads or tails about:
no such file to load -- postgres
RAILS_ROOT: ./script/../config/..
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
Hi,
I successfully installed AAA couple days before, and i managed to
register a uer with it, with no user activation.
but for some strange reason, it stops working for the signup method,
with i go to the signup page, press submit, it shows an error page,
what''s wrong? here''s the error page.
undefined method `activation_code'' for #<User:0x3b6dbd
2007 Jan 22
0
rail 1.2.1: Fireruby exception with firebird
Rubyonrails application which was working fine with rails 1.1.6,
fireruby and firebird 1.5.3 does not work with rails 1.2.1. The error
is reproduced below. Could not get over this problem. Any help coming
through? Thanks in advance.
ActiveRecord::StatementInvalid in
TimekeeperadminController#authenticate
FireRuby::FireRubyException: Error preparing a SQL statement.
Dynamic SQL Error
SQL error
2007 Oct 29
2
error message after upgrading to Gusty Gibbon Ubuntu
I have started to get the error message "wrong number of arguments (1
for 0)" since I upgraded to Gusty Gibbon.
I am new to ROR so I have no clue.
This is the code that was running
def create
@user = User.new(params[:user])
if @user.save
flash[:notice] = ''User was successfully created.''
redirect_to :action => ''list''
else
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
Hi,
i am very new to ROR, this is my 2nd day since i solve the problem of
database connection. when i started to write some codes, i got stuck.
here is the situation and please give me some help.
i have a "posts" table in my database
CREATE TABLE `mapapp`.`posts` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) default NULL,
`body` text,
PRIMARY KEY (`id`)
)
2007 Jun 11
3
ActiveRecord::StatementInvalid error
Hi,
I have an application that is running fine on two different machines,
but when I ported the code to a third machine, it doesn''t seem to
work. More specifically, for users with a significant amount of info,
it seems to stop working. All the functionality seems to be working
properly on a small test set, but with a larger set I get the
following error:
AssociatedAp Load (0.000000)
2006 Jan 15
0
OS X Rails - Nuby
OK, I''m diving into new things - a .net programmer and windows user
trying to develop in Rails on my Mac. Initial setup was easy, and I had
things working and was thrilled with myself. Then I shut down. Next
time I booted up, mysql was acting all kinds of funny. I finally got
that working again (I *think* it mostly had to do with me not having the
right path, I unfortunately
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 Jan 15
2
Please help - Rails hanging on mysql connection
Trying to get Rails and mysql running on OS X, and I''m a Nuby.
Everything ran smoothly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with
2008 Jan 03
7
error message after upgrading ruby
hi
first off all a happy new year to you all.
I''m using netbeans 6 and ruby 2.02.
at this point I get my index page in my view in this format
index.html.erb and not like before index.rhtml
when I enter localhost:3000/lijsten/index I get the following error
message
Errno::EBADF in LijstenController#index
Bad file descriptor - connect(2)
RAILS_ROOT:
2007 Dec 10
0
mysql error with rails 2.0.1
Hello Friends,
Sorry for my bad english.I am a rails novice. I successfully install
rails 2.0.1 and activerecord 2.0.1 in my windows Xp sevice pack 2
system. I am trying to develop simple rails application which does not
require database. 1st i type from my command prompt:
rails myapp
then I create a controler :
myapp/script>ruby generate controler hi index
after that i start the webbrick
2006 Sep 06
5
admin controller problem
I am reading the agile web development with rails book, and starting to
create the depot. I am getting the below error after setting up the
"ruby script/generate scaffold Product Admin" does anyone know what the
problem is?
NameError in AdminController#index
uninitialized constant Mysql
RAILS_ROOT: ./script/../config/../
Application Trace | Framework Trace | Full Trace
2006 Apr 17
7
Action Controller: Exception caught
Hi, I''m running the cookbook example from ONLamp.com. I have tried to
test my site and it comes up with the the message on the site:
ActiveRecord::StatementInvalid in RecipeController#index
Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS
FROM recipes
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2005 Nov 16
4
What happened to mysql connection?
I''ve been using Rails for more than six months and until today I had
no problem with mysql connection.
It''s a Mac OS X 10.4 box having rails installed and updated by gem. I
use a remote mysql server no local instance installed.
Here''s my config:
development:
adapter: mysql
database: hdchat
host: 10.0.0.1
username: webuser
password:
test:
adapter:
2007 Oct 24
8
validates_confirmation_of not working
Hello to everyone,
Well, very frustrated with this one because I am following the example
straight from the documentation and it is not working.
First when I try:
validates_confirmation_of :password, :on => :password_update
(password_update is a def in my User model which works fine without
this validation in please)
I get the following error:
TypeError in UsersController#update_password
2007 Jul 19
7
NoMethodError in partial driving me mad
Hello,
i simplified have a news model, a news category model and a news
controller.
my _news.rhtml partial renders a single news entry.
in my controller there are the actions show and show_category.
if the "show" action is called, a single news item is rendered through
my partial with no errors.
if the "show_category" action is called, i get a NoMethodError while
displaying
2005 Dec 01
0
symlink and 0.14.3
Hi!
I have a little problem with 0.14.3. I followed the
http://wiki.rubyonrails.com/rails/pages/HowtoUseSymLinksToGraftRailsOntoYourWebsite
but it''s not work.
My rails directory is /home/boci/ujautoszalon and I symlinked the public
dir to /home/httpd/htdocs/ujautoszalon2, but it''s not find the
database.yml file.
Here is the whole log:
2006 Mar 29
5
MySQL losts connection, can''t refer to User
Hi
Another problem here. After the upgrade to 1.1 both rails and engines,
my app on windows crashes very often on requests. It can''t refer to User
model or losts connection to mysql. It appears like 2-3 times per 10
requests.
Eg.
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
Hello,
Thank you for the fast responses, I really appreciate. I really enjoy being
a part of such a great community.
I still could not solve my problem. To make sure that I can not connect
beacuse of access rights, I have started mysql server --skip-grant-tables
option. (I have read the part of the manual about access rights, which I was
to read in this list, but 4 AM in the morning, I had hard