Displaying 20 results from an estimated 6218 matches for "1.8".
Did you mean:
1,8
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi ,
I want realize a web service with rails, but it''s the response it''s
very slow. I want only saw all element present in my base.
I did a base Customers (with element like id, name, phone,...). I
added two elements.
I did a model customer, a web_service customer.
In the file /app/apis/customer_api.rb
class CustomerApi < ActionWebService::API::Base
api_method :listid,
2006 Dec 01
1
Packages build for Solaris ? As CSW packages ?
Well imitation is the highest form of flattery they say. So I''m surprised
to see these packages neatly built to install into /opt/csw correctly and
yet they exist somewhere else and have nothing to do with us here at
Blastwave.
fascinating.
I guess we can always send an email to the person doing this and just ask if
they want those packages in testing and then into the catalog for
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
Hi,
I have a puppet infrastructure running 2.6.14 under Passenger with about 30
nodes. I''m just spinning up a new Cent 6.3, puppet 2.7.19 master. Right now
I have the master built and configured using the same configuration as my
2.6.14 setup, with a few tweaks for the new version. Puppet on the master
built itself fine. I have puppetd stopped on the master. I tried pointing
one
2008 Jan 06
8
ActionController::InvalidAuthenticityToken
Ruby noob here.
Just installed Rails 2.0, and am having trouble with updating DB
tables, using the ApplicationController.
My ApplicationController file looks like:
class StoryController < ApplicationController
protect_from_forgery :only =>
[:create, :update, :destroy]
scaffold :story
#def index
#@current_time = Time.now
#@story =
2006 Jul 22
1
How to debug this
Hello,I get this message and I don''t know how to interprete this.I think it has to do with plural tables and singular referencesThanks for any help!Jim======================================================================================uninitialized constant SubjectRAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Mar 28
0
MySQL problems and undefined class User
Hello
I''m having some issues with MySQL losing it''s connection, or undefined
class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1,
MySQL 4.
MySQL problem (one of them):
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold
and navigate to the it, i get an error that looks like this.
-----------------------------------------------------------------
NameError in PagesController#list
uninitialized constant Page
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jan 18
1
Another uninitialized constant question
Guys,
I''m trying to generate a scaffold to admin a table called hangars. I''d
like the controller to fall with an "admin" sub-module.
I used the command:
script/generate scaffold Hangar Admin::Hangar
This seemed to work, and placed the controller in
controllers/admin/hangar_controller.rb, where I expected to find it. It
also created the hangar.rb model in
2009 Jun 13
5
undefined method `valid_password?'
I''m trying to set up the authlogic gem for rails, just after logging my
user I get this weird error:
NoMethodError in Usuari sessionsController#create
undefined method `valid_password?'' for #<Usuari:0xb69b9a54>
RAILS_ROOT: /home/cocozz/dev/enruscats
Application Trace | Framework Trace | Full Trace
2006 Feb 13
3
TypeError
What might cause this error?
TypeError (singleton can''t be dumped):
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:138:in `transaction''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close''
2005 Apr 06
3
NameError in <controller not set>#<action not set>
I can''t figure out why I''m getting the following error. There''s
nothing wrong in my communities_controller file. And the helper for
communties exists.
Any ideas?
Thanks,
Joe
NameError in <controller not set>#<action not set>
uninitialized constant CommunitiesHelper
app/controllers/communities_controller.rb:1
script/server:48
Show framework trace
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb
class OrderPayment < ActiveRecord::Base
belongs_to :order
validates_presence_of :amount, :no
end
class LC < OrderPayment
end
class LC30 < LC
end
class LC60 < LC
end
class LC90 < LC
end
class LC120 < LC
end
class TT < OrderPayment
end
class CAD < OrderPayment
end
and following is error i''m getting with
2006 Jan 09
1
Cooky Cookies
Hi All,
I have a problem with the stemming(?) in rails. I have a table cookie and a
Cookie model which I have generated a scaffold for. The problem is that
rails starts looking for a file that it calls "cooky.rb", this must be some
kind of misunderstanding between me and rails, but how do I correct it?
Other scaffolds work just fine.
/Hugo
NameError in Cookie#index
uninitialized
2010 Mar 23
3
NoMethodError in AdminController#index
I am newb in ror. I''ve googled and found no concrete answer to my
problem below:
NoMethodError in AdminController#index
undefined method `scaffold'' for AdminController:Class
RAILS_ROOT: /home/darwin/Sites/music_library
Application Trace | Framework Trace | Full Trace
/home/darwin/Sites/music_library/app/controllers/admin_controller.rb:3
2007 Nov 21
6
failing rake task
I''m running rspec and rspec on rails in svn external so I am running
the latest version of the trunk. Recently the rake spec task started
braking the continuous integration server because the rake aborted. I
checked my local and it ran with the same behavior.. and all of the
devs on my team are now experiencing the same problem. All the spec''s
are passing, but the rake task is
2009 May 20
8
ctionView::TemplateError (undefined method `start_form_tag'
I upgrade my version of ruby on rails And my SO
Free BSD was working with Ruby 1.8 + 1.2.6
and now Mandriva Linux with Ruby 1.8 + Rails 2.1.1 it''s not working
ERROR:
Processing LoginController#fazer_login (for 192.168.3.210 at 2009-05-20
09:20:53) [GET]
Session ID:
BAh7BzoNYWRtaW5faWQwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpG
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>"
when I tried to run my rails application after installing
will_paginate. Details are as below:
undefined method `page_count'' for #<Array:0xb7073e1c>
Extracted source (around line #7):
4: <%= a.text%>
5: <% end %>
6:
7: <%= will_paginate @announcements,
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived??
I''m working on a shopping cart and have a table called sales_taxes (at
first i named it taxes).
I get the following error when i load the controller:
uninitialized constant SalesTaxis
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2010 Jun 28
3
rake db:create failing
Hi everyone,
First of all, I''m running Mac OS X Snow Leopard.
Trying to set up a new SQLite database, but when I run rake db:create,
I get the following huge message:
unable to open database file
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
sqlite3_adapter.rb:13:in `initialize''
2009 Feb 21
3
Help w/ rake db:migrate error
I made a few changes to my migration files, dropped all tables (rake
db:drop:all), and when I went to re-create everything (rake
db:migrate), I get this:
rake db:migrate --trace
(in /Users/Eric/Development/Work/Rails/pcod)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `random'' for Tidbit(Table doesn''t