similar to: Switching from mysql to postgres

Displaying 20 results from an estimated 10000 matches similar to: "Switching from mysql to postgres"

2012 Feb 01
6
Does Devise make use of a "status" method? Weird bug.
So I''ve inherited a legacy application and I''m trying to work around the edges as I put an admin tool interface on top of the existing code base. I install Devise for user authentication, since I''ve used it in the past. I change none of the default code. And yet, on successful sign in, I get an error: Render and/or redirect were called multiple times in this action.
2006 Jun 09
4
View into a String?
I''ve got a nice XML view of my data that works just fine when I call it from the browser. Now I''d like a different controller method to take that XML and write it to the file system. Since the XML view lives in an RXML file, is there a trick to telling the controller "Get your output into a string" instead of writing it back to the browser? After writing it out
2006 Jun 02
3
Where are the best AJAX examples?
Googling for this has not solved my problems. Is there a particular site that is recommened for its examples and tutorials on Rails'' AJAX capabilities? I know exactly what I want to do, just not how to do it, and am looking for some code to pore over. 1) I have a dropdown that represents the name of an image in a library. When the dropdown value is changed, I would like to refresh
2006 Jun 15
1
Ok, I''m stumped on arrays of form fields
My Alert object has_many Links. I''ve got the whole system setup where, once I have the Alert object created, I can use a nice form_remote to show the user all the Links currently attached, and add more. But the form itself starts out with 0 links. What I''d like to do now is construct the form with a couple of default "Place link here" objects in the array, and
2006 Jan 03
1
Raw Hangup messages with IAX2?
Hi All, I am running asterisk 1.2. I have a softphone connecting from a coworkers home through their router using IAX2 through our router at the office. Both have port 4569 for TCP and UDP opened and forwarded to the right pc and server. I'm seeing Raw Hangup <person's IP address>, src=0. dst=10787 messages show up in the log like 10 every 5 seconds. We can still make calls and
2009 Mar 31
3
Accept POST data from external source?
Ok, this is harder than I thought. I''ve got a hunk of XML coming in from an entirely external source that I do not control (but another department in my company does, so it''s not like a giant security hole). I was hoping to just have them POST their data to me, and then I''d read the raw stream and parse it. I''m sure folks know what I ran into -- Invalid
2010 May 10
1
Supercripting text
Dear R users, I recently developed a plotting function in R and introduced it to my coworkers. The function is designed to make plotting easier and more efficient, which will in turn be more cost-effective for the company. The reviews for the function have been positive thus far, except for one issue -- addition of superscripts to the title. We need superscipts in the titles sometimes to
2005 Mar 23
2
Does X100P clone provide Timer?
Does anyone know if the X100P clone cards provide the timer needed to run MOH and the Conferencing service? I have no need for a T1 card, but I'm running asterisk on a dual processor machine with the wrong kind of USB devices, so none of the dummy timers will work for me. Also, I'm running Asterisk@Home (2.4 Kernel). Anyone know if upgrade to the 2.6 kernel will allow me to use the
2005 Jan 20
3
mysql & postgres
I install CentOS 3.4 but don't found the databases mysql and postgres where are ? Thanks
2006 Mar 29
3
MySQL in dev, Postgres in prod - differences in "LIKE" query
Hi everyone, I run MySQL in my dev environment, but Postgres in my production environment (out of necessity). I''m having trouble finding a way to write a query with a LIKE condition that is supported as case insensitive in both databases. Right now, I have this: @query = "m" # for example @people = Person.find(:all, :conditions => ["last_name LIKE ?", @query +
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment everything works fine, however following a deployment with Capistrano about an hour ago, I get the following error: PGError in HomeController#index FATAL: role "root" does not exist /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/postgresql_adapter.rb:713:in `connect''
2009 Jul 24
7
number_to_currency not working since 2.1.1
Back in 2.1.1 everything was sweet: Loading development environment (Rails 2.3.3) >> include ActionView::Helpers::NumberHelper => Object >> number_to_currency(12.3) >> "$12.30" Then I upgraded to 2.3.2 and: Loading development environment (Rails 2.3.3) >> include ActionView::Helpers::NumberHelper => Object >> number_to_currency(12.3) >> 12.3
2005 Aug 21
1
MySQL/Postgres pdb: cannot add new users
Hello everyone, Hello Jelmer, in 3.0.20, it still is not possible to add new users using pdbedit. See bug report at https://bugzilla.samba.org/show_bug.cgi?id=2531 In 3.0.14a it was possible to copy pdb_sql.c and pdb_mysql.c from 3.0.11 and it worked, but this workaround does not help anymore, as the files seem to be incompatible. Jelmer, could you please have a look at this one? I consider
2012 Jan 30
4
Reaching into a has_and_belongs_to_many - will :through work?
Hi. I''m hoping somebody can tell me that I''ve just gotten my syntax wrong and I can in fact do what I want to do. I''ve got a Group, and a Group has_many Campaigns. Campaign has_and_belongs_to_many Users (and, naturally, vice versa). So I''ve got a groups table, a campaigns table (that has a group_id), a campaigns_users join table (with campaign_id and
2006 Mar 14
2
Max retries exceeded to host...
The past two days, I've been having issues with my two VoIP service providers where calls just suddenly hang up. The following is from the log: Mar 14 13:50:55 WARNING[5887] chan_iax2.c: Max retries exceeded to host 64.34.45.100 on IAX2/voipjet-3 (type = 6, subclass = 11, ts=250000, seqno=80) Mar 14 13:50:55 DEBUG[10428] channel.c: Didn't get a frame from channel: IAX2/voipjet-3 Mar
2006 Nov 07
2
ActionMailer outside of Rails?
Does anyone know of issues using ActionMailer outside of Rails? I''m already selectively using ActiveRecord, so I thought perhaps I could use ActionMailer as well. (To solve one of those last minute "And could you make the app email me if it throws any errors" questions that was never in the original spec...) When I built a single file to test with, it worked fine and I
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to webrick and mongrel. How can I do this same thing using Lighty and Mongrel? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2014 Sep 26
4
URGENT! Shellshock fix DOES NOT fix the bug on CentOS 5.4
Good afternoon! After applying the latest bash RPM listed at http://lists.centos.org/pipermail/centos-announce/2014-September/020594.html : The fixed RPM (bash-3.2-33.el5_10.4.x86_64.rpm) DOES work just fine on CentOS 5.10. However, it DOES NOT work on CentOS 5.4. That is, bash runs fine, but IS STILL VULNERABLE TO SHELLSHOCK! Scary screenie at: http://i.imgur.com/yR7sBjV.png It looks like
2009 Mar 16
15
DEV Laptop : Ubuntu or Centos , Netbeans or Eclipse ?
After doing some playing around RoR ,now is time to make it real and start making money.. The target for now is to make simple website and get used to new tecnology (Github , capistrano and so on) Now I need to install the new DEV machine but .... Ubuntu (deb) or Centos (rpm) Netbeans or Eclipse Which combination is better ? -- Posted via http://www.ruby-forum.com/.
2018 Apr 25
2
Icecast + Google Analytics
How to do it? 25.04.2018 14:33, Felix-Antoine Morin <antonixfelinski at gmail.com> >Its okay now, it is working... ;) > > > Au plaisir, > Félix-Antoine Morin > > > 769 Villeray > Montréal, Qc. > Canada > H2R 1J2 > > (514) 690.36.89 > > felixantoinemorin.com > Facebook <https://www.facebook.com/felixantoine.morin> > >