similar to: Re: Multiple rails instances, single database

Displaying 20 results from an estimated 1400 matches similar to: "Re: Multiple rails instances, single database"

2006 May 18
1
RE: Rails-spinoffs Digest, Vol 12, Issue 29
Issue 1: <%= @pic %> instead of <% @pic %> -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of rails-spinoffs-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Sent: Wednesday, May 17, 2006 11:13 PM To:
2005 Apr 25
0
Oracle connection problem: rails ok!
Thanks Dan That fixed it. > Date: Sun, 24 Apr 2005 22:32:34 -0700 > From: Dan Peterson <dpiddy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Subject: Re: [Rails] Oracle connection problem: ruby ok, rails not ok. > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Message-ID: <56d3286d0504242232471fe782-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> >
2005 Mar 04
3
Boolean values
Hi, I''m using SQL Server. I have a BIT field. I have a fix and a question. This is a patch for a bug in the SQL Server adapter that causes any insert or update to fail: lib/active_record/connection_adapters/sqlserver_adapter.rb @@ -239,2 +239,2 @@ - when TrueClass then (column && column.type == :boolean ? "''t''" : "1")
2006 Jan 26
0
Bug with table_name_prefix?
Hi all, I think I have found a bug in ActiveRecord''s handling of eager loading when using table_name_prefix. Here is a reduction of the problem : class Cheese < ActiveRecord::Base ## ## id SERIAL ## name VARCHAR(32) ## county_id INTEGER ## belongs_to :county def self.table_name_prefix "stuff_" end end class County
2013 Mar 07
0
custom table_name for table users with devise
Hi for my app, I have several tables for users (franceusers, belgiumusers, ...) and I would like to use one or another depending on domain I tried with table_name_prefix and table_name but it seems to not work class User < ActiveRecord::Base rolify # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, # :lockable, :timeoutable and
2006 Aug 11
0
habtm in a standalone ruby script broken?
Hi, i have a ruby script which uses the activerecord models of my rails application. this is achieved with $LOAD_PATH << ''...../availdb/app/models'' require ''rubygems'' require_gem ''activerecord'' require ''host_downtime'' require ''host_scheduled_downtime'' And in .../app/models/host_downtime.rb: class
2007 Jun 19
2
sequence name prefix
In Postgres, I use different database schemas for each application, by declaring, e.g.: class ApplicationController < ActionController::Base ActiveRecord::Base.table_name_prefix = "keywords." end I assumed that the sequence names were also prefixed with the database schema names, e.g. keywords.things_id_seq But Rails 1.2.3 assumes the sequence is *NOT* in the same schema as the
2011 Oct 05
2
Does it exist a function for this?
I have this kind of matrix, with thousands of cases. A 2 apple A 2 peach A 3 peach B 1 pear B 4 peach B 4 beef B 7 beef C 1 peach D 2 apple D 5 peach I have to distinguish, from the other rows, the rows with "peach" and this is not a problem. I also have to discriminate the rows with peach like the second one (associated with the same two cells "A" and
2015 Apr 25
1
google-earth crashes on CentOS 6.6
Hey all, With google-earth-stable.x86_64 0:7.1.2.2041-0 [mlapier at peach /]$ /usr/bin/google-earth [0425/000212:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses() Failed to load "/opt/google/earth/free/libinput_plugin.so" because "/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./libLeap.so)"
2011 Apr 15
2
sti + namespace
I''m spidering historical weather data from various sources. I have a WeatherStation class that is begging for an STI implementation: a WeatherStation is associated with a specific weather service, and each weather service has its own protocol for fetching weather data, but most of the code is can be shared in the WeatherStation parent class. Ergo STI. But there are a lot of weather
2015 Apr 19
1
Slow Printing HP-2025dn
Hey All, You know how sometimes you have a problem but you just live with it? Well I've got one of those problems. I have an HP-2025dn printer connected to my home network. When I print a plain text document containing the text, "this is a test", from my wife's Windows 7 machine using the text editor the print job finishes in less than 15 seconds. If I print two copies the
2016 Oct 21
1
xdgurl
On 10/20/16 07:06, James Pearson wrote: > Mark LaPierre wrote: >> Has anyone figured out how to make Firefox 45.4.0 on CentOS 6 use xdgurl >> to handle xdg:// URLs? >> >> Google is full of suggestions that don't work. When I select a an >> xdg:// link I don't get a dialog asking me what to do like Google says I >> will. Instead I get a message that
2012 Sep 02
1
回复: Which Framework will improve my Ruby Skills?
i think you should write more program . so that you can improve you ruby skills ------------------ 原始邮件 ------------------ 发件人: "ANIKET KADAM"; 发送时间: 2012年9月2日(星期天) 晚上9:52 收件人: "rubyonrails-talk"; 主题: Re: [Rails] Which Framework will improve my Ruby Skills? can you tell me which rubygems will improve my ruby skills On Sun, Sep 2, 2012 at 2:00 PM, ANIKET KADAM
2015 Aug 24
0
Host does not respond to nmap
On Sun, August 23, 2015 7:34 pm, Mark LaPierre wrote: > Hey Y'all, > > I just set up a new old machine on my network. I did a net install of > CentOS 6.7 on it replacing an outdated copy of Win XP. Of course I'm > now in the throws of configuring the machine to be a useful member of > society. > > [mlapier at peach ~]$ nmap -sn 192.168.15.0/24 > > Starting
2016 Sep 26
0
HP CP2025
On 09/25/2016 06:09 PM, Mark LaPierre wrote: > > [mlapier at peach ~]$ rpm -qa | grep hplip > hplip-common-3.14.6-3.el6.x86_64 > hplip-libs-3.14.6-3.el6.x86_64 > [mlapier at peach ~]$ rpm -qa | grep cups > cups-1.4.2-74.el6.x86_64 > cups-pk-helper-0.0.4-13.el6.x86_64 > gutenprint-cups-5.2.5-2.el6.x86_64 > cups-libs-1.4.2-74.el6.x86_64 > cups-libs-1.4.2-74.el6.i686
2016 Sep 26
1
HP CP2025
On 27/09/16 10:45, Kay Schenk wrote: > > > On 09/25/2016 06:09 PM, Mark LaPierre wrote: >> >> [mlapier at peach ~]$ rpm -qa | grep hplip >> hplip-common-3.14.6-3.el6.x86_64 >> hplip-libs-3.14.6-3.el6.x86_64 >> [mlapier at peach ~]$ rpm -qa | grep cups >> cups-1.4.2-74.el6.x86_64 >> cups-pk-helper-0.0.4-13.el6.x86_64 >>
2015 Aug 24
2
Host does not respond to nmap
Hey Y'all, I just set up a new old machine on my network. I did a net install of CentOS 6.7 on it replacing an outdated copy of Win XP. Of course I'm now in the throws of configuring the machine to be a useful member of society. [mlapier at peach ~]$ nmap -sn 192.168.15.0/24 Starting Nmap 5.51 ( http://nmap.org ) at 2015-08-23 20:12 EDT Nmap scan report for 192.168.15.1 Host is up
2007 Sep 05
8
Hi..Guys new plugin again
Hi.. Guys new plugin again Foreign Key Associations is a plugin that automatically creates associations based on foreign-keys. The associations are created at runtime-ie. as your ActiveRecord models are loaded-so they will always be up-to-date. For example, given a foreign-key from a customer_id column in an orders table to an id column in a customers table, the plugin creates:
2016 Sep 26
3
HP CP2025
[mlapier at peach ~]$ rpm -qa | grep hplip hplip-common-3.14.6-3.el6.x86_64 hplip-libs-3.14.6-3.el6.x86_64 [mlapier at peach ~]$ rpm -qa | grep cups cups-1.4.2-74.el6.x86_64 cups-pk-helper-0.0.4-13.el6.x86_64 gutenprint-cups-5.2.5-2.el6.x86_64 cups-libs-1.4.2-74.el6.x86_64 cups-libs-1.4.2-74.el6.i686 [mlapier at peach ~]$ CentOS release 6.8 (Final) I've been able to print to this printer
2006 Sep 01
1
Reading many files at once
dear group, i have 100 files starting with 'hsa-*'. ex. file: fruit p-value ------------ apple 0.0003 orange 0.004 kiwi 0.0003 peach 0.0004 I want to read all these files and create a single matrix. here each file may have different fruit names. in the matrix i want to have a union of all fruits and those should be the rows in the matrix and file names should be columns.