Displaying 20 results from an estimated 600 matches similar to: "What happened to mysql connection?"
2005 Oct 24
3
bogus find_all in Rails 0.14.1
I have the following statement
cl = ChatEvent.find_all("ev_type <> #{t} and chat_id = #{@params
[:chat_id]} order by created_at")
which produces the following error:
#42000You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near ''order by created_at)'' at line 1: SELECT * FROM
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced
this problem until now. I''m currently working through Micharl Hartls
Tutorial and everything worked fine so far, but suddenly (chapter 11) I
can nolonger create Migration Files.
when entering "rails g model Name field1:type" I don''t get the usual
"create db/migrate...."
2005 Feb 13
6
Apache config help needed
Hi all,
I''m (STILL) plugging away trying to get rails to work under Apache2
Rails 0.9.5 Apache 2, OS Mandrake Linux 10.1
Apache is already running other stuff on /pluto/ and /localhost/ so I wish
to install a new virtual host for rails to avoid upsetting anything.
Added rails to my hosts file, and edited conf/Vhosts.conf to contain
NameVirtualHost 192.168.0.254
<VirtualHost
2006 May 19
1
Strange error when testing layered web service
Hi all,
Ruby 1.8.4
Rails 1.1.2
1) Error:
test_find_hardware_by_id(HardwareControllerApiTest):
ArgumentError: illegal refid http://test.host/
c:/ruby/lib/ruby/1.8/soap/baseData.rb:166:in `decode''
c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in
`decode_tag''
c:/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag''
2005 May 16
2
assign value to MySQL timestamp field
With what class type can I assign value to a timestamp field? I tried
Time.now and DateTime.now both failed (did nothing).
2005 Dec 01
0
Troubleshooting "undefined class/module"
I''m having a bit of a headbanger here... maybe someone can help.
A class in a fairly complicated existing Rails app that I''m working on
seems intermittently not to load.
The error is basically the following:
undefined class/module InnerPackage
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0
/lib/action_controller/session/active_record_store.rb:75:in
`load''
2006 Jan 02
19
AR: How to store and restore in YML.
Hello-
I have a database with entries that are segmented by customers. I would
like to be able to store / delete / restore a particular customer''s
information. I will need to rebuild the rows on restore and also
rebuild the associations for the different tables.
For example,
customer {
id
name
}
companies {
id
customer_id (belongs_to)
name
}
contacts {
id
2011 Nov 16
1
New to Ruby On Rails. Problems Installing Rails.
Hi Everyone,
I am completely new to this thing and i have absolutely no clue about
Ruby and Rails/Gems anything. So i thought about starting off on this
learning path. I have got some tutorials and learning stuff with me. But
before that i thought of at least getting the software installed. I got
Ruby and Gems done properly but when i try to install Rails i get a
weird exception I dont know
2008 May 09
2
Getting an error when trying to create a new application..
I''m new to Ruby/Ruby on Rails. I''m trying to create an application and
am getting this error:
C:\InstantRails\rails_apps>rails demo
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in
`report_activate_
error'': RubyGem version error: activesupport(2.0.2 not = 2.0.2.9216)
(Gem::LoadE
rror)
from
2005 Dec 18
1
Informix adapter testing
I''ve just written an ActiveRecord adapter for Informix. It lacks a
pair of features that I will add later, but it works for me.
I found this on the web:
http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActiveRecordAdapter
and followed it, but when I get to
$ rake test_informix
I get the following error messages:
-----------------------8<-----------------------
2006 Jun 21
3
Show Exceptions in Production mode.
Does someone know what to set so that exceptions are shown (to user)
when in production mode? I would like the exception to show exactly as
it does in development mode.
I know that they are written to the log.
Richard
RogueWaveMarine.com
--
Posted with http://DevLists.com. Sign up and save your mailbox.
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2012 Apr 13
0
console for JRuby/Sinatra with Tomcat ?
We are using Ruby Sinatra running on JRuby with tomcat as a server.
I saw where it was claimed you could get a console in Sinatra by doing
something like this:
irb -r my_sinatra_app.rb
for me that would be
jruby -S rb my_sinatra_app.rb
but I get this error when I do that as obviously tomcat must
initialize some things:
C:/Tomcat60/webapps/ROOT/WEB-INF/vendor/activerecord-jdbc-
2016 Jun 23
2
sssd.conf file missing
Hello ?
Thank-you for your e-mail. I corrected the syntax in the file, and I have confirmed the permissions are correct:
-rw-------. 1 root root 266 Jun 23 08:45 sssd.conf
Unfortunately, the error condition and messages listed in my initial e-mail are still present.
From: l at avc.su [mailto:l at avc.su]
Sent: Thursday, June 23, 2016 8:34 AM
To: CentOS mailing list; Kaplan, Andrew H.
2016 Jun 23
3
sssd.conf file missing
Hello --
I made the suggested changes to the sssd.conf file, and the results are the same.
Just to make sure my syntax is correct:
The following section was added to the end of the file:
[sssd]
debug_level = 4
config_file_version = 2
domains = company/company.org
-----Original Message-----
From: l at avc.su [mailto:l at avc.su]
Sent: Thursday, June 23, 2016 9:08 AM
To: Kaplan, Andrew H.;
2016 Jun 23
1
sssd.conf file missing
Hello --
I have not touched that file.
What change(s) do I need to make there?
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of m.roth at 5-cent.us
Sent: Thursday, June 23, 2016 9:36 AM
To: CentOS mailing list
Subject: Re: [CentOS] sssd.conf file missing
Kaplan, Andrew H. wrote:
> Hello --
>
> I made the suggested
2004 Mar 11
7
asterisk gui client
I have looked at matt's asterisk gui client at sourceforge. I am not a
programmer by trade. The documentation there seems to be a bit lacking.
Has anyone have the experience in installing the gui client and may
perhaps have a how-to document available for sharing.
--
David Kwok
Tel: 612 99292086 ext 1002
Iaxtel/FWD # 17001813482 ext 1002
-------------- next part --------------
A non-text
2005 Nov 15
2
FormOptionsHelper select call failing
In Rails 0.14.3, I''m doing the following in a view:
<%= select ''folder'', ''format'', [''a'', ''b'', ''c''] %>
This line in is failing with:
ActionView::TemplateError (too few arguments.)
Am I calling select incorrectly? (Yes, the @folder object does exist,
and does have an attribute
2005 Dec 05
0
bug in bubbleshare's Active Record extensions?
I''m using add_foreign_key_constraint and remove_foreign_key_constraint
from Bubbleshare''s Active Records Extension plugin now to manage the
foreign key relationships I describe in my other recent posting. The
constraints get added within migrations, but I''m running into two
problems (Rails 0.14.3, PostgreSQL db):
1. Dumping the schema doesn''t dump the
2005 Jul 07
3
NameError Exception
Ruby/Rails n00b here so go easy on me...
I''ve been wracking my brain trying to figure out what is wrong here.
I''ve checked all my models for the appropriate belongs_to, has_many,
etc. I''ve checked to make sure I''m using singular and plurals in the
right spot. I''ve checked my syntax around all my "within"''s and nothing
seems to fix