similar to: List of databases supported by Rails

Displaying 20 results from an estimated 4000 matches similar to: "List of databases supported by Rails"

2006 Aug 29
1
float/decimal with dot or comma
Hi, I''m facing a really strange behaviour with rails 1.1.6. A model has a field declared as :float in schema.rb, as numeric in postgres 8.1. On save/update, rails makes the decimal point become a comma on the prod server only, hence making a sql error. This error was not there three weeks ago, i.e. when my prod server was in 1.1.4. Maybe something else changed, I cannot be sure
2012 Apr 12
6
beginning_of_month problem
Rails 2.3.2, Ruby 1.9.3 I want to get all records for one month from charges table. recs = Charge.where(["date >= ? and date < ?", t.beginning_of_month, t.next_month.beginning_of_month]) and this transforms into this query on PostgreSQL SELECT "charges".* FROM "charges" WHERE (date >= ''2012-03-31 22:00:00.000000'' and date <
2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails? by TheR -- Posted via http://www.ruby-forum.com/.
2008 Nov 06
4
SQL question
This works as expected in sqlite3 select id, title || body as tb from docs where tb like ''%en%'' But fails in postgres because tb is unknown. and works in ms-sql like: select id from docs where title+body like ''%en%'' I didn''t tried Oracle but I guess it has its own sintax too. So my questions are. 1. Is there universal SQL syntax to support this
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful. Moving application to laptop for trip. Installed: - Ruby (1.8.6, patchlevel 111) - Rails (2.2.2) - Oracle adapter (1.0.0.9250) - ruby-oci8 (2.0.1) - Oracle 10g Express Edition database.yml: development: adapter: oracle etc... When I start Mongrel (ruby script/server) I get the error above. I''ve looked everywhere I can think of.
2008 Jun 04
2
How to change ActiveRecord date format conversion
I am using custom control for entering a date on the form. My date format is dd.mm.yyyy and this is also what the control returns to program. But ActiveRecord expects date to be formated as mm.dd.yyyy and thus saves wrong value to database. I have implemented method which corrects date fields prior to save to database, but it is clumsy. There must be a solution to configure ActiveRecord so it
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I have created the models/controllers/views for my existing Oracle tables. All seems to work well, using /model/index, /model/show for most of my tables, *except* when one of the tables contains a Oracle ''date'' column, for
2008 Jun 04
4
Where is the ActiveRecord Oracle Adapter with 2.1?
I tried this, which worked before: sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org --no-ri --no-rdoc But all I get is: ERROR: could not find activerecord-oracle-adapter locally or in a repository Anyone else able to install the Oracle adapter? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Jan 23
2
Redundancy recomendations?
I am working on a RoR project that fetches some of its data out of an existing database. The database server is physically located in Florida. When Wilma went through there were problems, I''m not sure how much of it was server related or the network connections between Illinois and Florida. Long story short we are now looking at deploying a geographically seperate servers for both for the
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys, I''ve been able to successfully install the postgres adapter for a remote database machine to get rails up. My machine is running on Fedora 2. Rails version 1.1.2. Is my yml config correct? I am getting this error when I execute script/generate scaffold service_contents content : exists app/controllers/ exists app/helpers/ create app/views/spiel exists
2011 Mar 11
2
Problem with Redmine
I am having a problem getting Redmine to run with Oracle (11.2) backend. I get this error (below) because Oracle table names are limited to 30 characters. Does anyone around here know of a fix or workaround? I''m wondering if I can simple change the table name, or if that will break the application. When doing a db migrate to an Oracle db this creates the error below. I''m so
2010 Feb 24
4
"Sequence does not exist" for joined model
Hello all, I''m in my 5th month on Ruby on Rails and still learning. I have an application that works fine in sqlite3 and then the boss says he wants it migrated to Oracle. Now, I know very little about Oracle, enough to get into trouble. When I did the migration everything went haywire. Well, I''ve refactored several problems and now I have another. I have two models with a
2005 Nov 08
6
[ANNOUNCE] iproute2 2.6.14-051107
Update to iproute2 is available. Most of the changes were to repair the things that broke with the introduction of the batch mode to the ip command. http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.14-051107.tar.gz For info on CVS ans other info see: http://linux-net.osdl.org/index.php/Iproute2 Masahide NAKAMURA * Updating for 2.6.14 - Show UPD{SA,POLICY} message
2006 Apr 18
1
NoMemoryError
I am using the Openbase adapter and have had a similar glitch here and there, but after I go into production I consistently get an error on one page. ActionView::TemplateError (NoMemoryError: failed to allocate memory: SELECT * FROM ... I cannot track down the exact location of the error, but the production log says it was around:
2007 Dec 14
17
Rails 2.0.1 RC2 - activerecord-oracle-adapter not found
Hi, Does anyone know why gem can''t find activerecord-oracle-adapter? C:\>rails --version Rails 2.0.1 C:\>gem install activerecord-oracle-adapter ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find activerecord-oracle-adapter (> 0) in any repository It all started when I tried to run Mongrel on a Win32 box: C:\web\FDS_Server>mongrel_rails start
2004 Nov 10
5
command to list ip route tables
In linux one can have several route tables. But how do I list the route tables? (and no ''ip rule list'' is not it) -- damjan | дамјан This is my jabber ID --> damjan@bagra.net.mk <-- not my mail address!!! _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2008 Oct 14
3
domains gets stalled for N seconds
Hi, we have a software accessing a lot of small files. We installed Xen 3.2 on a server with two quad core Xeons. We installed two domains with our software on Linux and put it into production. The problem is that I suspect that domains are not running at full (hardware) speed and they are getting stalled from time to time. I can see a lot of wait in top and "top -d .5" gets stalled
2004 Aug 09
4
ARP daemon
I''m looking for a program that will replace the automatic ARP table population by the Linux kernel. The daemon should fix the MAC <-> IP entry from the IP of the first packet with that MAC received. Is there anything like this? -- damjan | дамјан This is my jabber ID --> damjan@bagra.net.mk <-- not my mail address!!! _______________________________________________ LARTC
2011 Jun 22
3
[LLVMdev] ARM thumb-2 instruction used for non-thumb2 CPUs
On Jun 22, 2011, at 7:22 AM, Renato Golin wrote: > On 22 June 2011 14:33, Damjan Marion <damjan.marion at gmail.com> wrote: >> Problem is that in case when old binutils are used (in my case freebsd is using old one due to license upgrade to GPLv3) AS doesn't understand new mnemonics and fails. > > Indeed, this is new in ARM ARM v7. > > >> Can we change to
2011 Jun 22
3
[LLVMdev] ARM thumb-2 instruction used for non-thumb2 CPUs
On Jun 22, 2011, at 3:16 PM, Renato Golin wrote: > On 22 June 2011 11:49, Damjan Marion <damjan.marion at gmail.com> wrote: >> # /opt/llvm/bin/clang -S -ccc-host-triple arm-unknown-freebsd -mcpu=arm926ej-s -mfloat-abi=soft -v -o rrx.S rrx.c > > Even though you specified cpu as arm9, it's probably generating > generic ARM IR (use -emit-llvm -S and see), which defaults