-
Trying to connect to Oracle 11g database using following Gemfile:
````ruby
source 'https://rubygems.org'
gem 'mongify', '~> 1.3.1'
gem 'ruby-oci8'
gem 'activerecord-oracle_enhanced-adapter'
…
-
## Issue
irb(main):001:0> UserT.count
SQL (4.9ms) USE [GenDB]
(5.5ms) SELECT COUNT(*) FROM [UserT]
=> 2
irb(main):003:0> UserT.first
UserT Load (9.6ms) EXEC sp_executesql N'SELECT […
-
### Infos:
* Used Zammad version: 4.0 / stable and earlier (seen on 3.6 too)
* Installation method (source, package, ..): any
* Operating system: any
* Database + version: any
* Elasticsea…
-
I am trying to run a model method in my cron job with whenever.
schedule.rb : `env :PATH, ENV['PATH']
set :output, "./cron.log"
every 1.minute do
runner "Stock.fetch_and_update_stock_data"…
-
So this is a very strange issue, and I have no idea what's going on. Based on an issue in our app, we wanted a has_many association to be returned with a default ordering applied to it every time you…
-
I am moving my rails 4.2 from Sqlite3 to MS Sql Server 2008 and I ran into this problem:
```
CollectiveIdea::Acts::NestedSet::Model::Transactable::OpenTransactionsIsNotZero: ActiveRecord::JDBCError: …
rob99 updated
7 years ago
-
### Steps to reproduce the problem
Unknown
### Expected behaviour
Scheduler::Trends::RefreshScheduler tasks should complete quickly
### Actual behaviour
Scheduler::Trends::RefreshScheduler tasks …
-
When you want ojdbc to use a database specified in TNSNAMES.ora you'll have to specify the location of the TNSNAMES.ora file:
```
if RUBY_PLATFORM =~ /java/
java.lang.System.setProperty("oracle.net…
-
So in using ActiveTriples::Resources as "Almost ActiveRecord" objects, the only big difference I found was that because they reload on #new, there's no such thing as a record with a URI in the databas…
-
There has been many changes with SQL Server lately with the System.Data.SqlClient rewrite. I recommend that we replace the FreeTDS, TinyTDS and design a new facade using .NET running on windows and l…