similar to: Please explain transactions within sqlserveradapter.rb ?

Displaying 20 results from an estimated 3000 matches similar to: "Please explain transactions within sqlserveradapter.rb ?"

2006 Mar 22
0
Lighttpd aliased does not render css or images - please help!
Hello all, I''m very badly in need of help here. I''m sooo close to this solution, and I WILL be blogging this when I finally have it working. I''m using Lighttpd + Mongrel + aliased app. I have the basic alias working. http://localhost/myapp/ renders the routed :controller/:action as does http//localhost/myapp/controller/action for production pages. The page source
2007 Nov 28
0
Where to override ActiveRecord::ConnectionAdapters::SQLServerAdapter?
I''m working on an existing global database running on MS SQL Server. The appropriate primary key is uniqueidentifier, so I want to set ActiveRecord::ConnectionAdapters::SQLServerAdapter#native_database_types[:primary_key] = "uniqueidentifier NOT NULL newid() PRIMARY KEY". Obviously, I need to override the native_database_types definition, but I really don''t know where
2006 Mar 21
1
Mongrel + Lighty + Multiple Rails Apps : How to Route ?
Hello all, I''m using Lighty-Win32 and Mongrel. I have one rails app working against http://hostname/. I want to know how to route lighty and my app to http://hostname/appname1. I have multiple apps that I would eventually want to route with http://hostname/appname2, http://hostname/appname3, etc. I am not trying to "productize", these are separate distinct apps that
2006 Feb 02
1
What''s the javascript to submit an AJAX Form?
HI Everyone, How do I form the href on an anchor so I can create a link-style submit for an ajax form? In this snippet, the INPUT generated by #submit_tag works OK, but the anchor results in the AJAX replacing the whole page? Can I make the anchor/href submit the AJAX form as well? Thank you! I have this (list.rhtml): <%= form_remote_tag :url =>
2006 Mar 20
1
Mongrel + Apache = Parallel processing ?
Hello All, If I use Apache/mod_proxy with mongrel, will that give me multiple processes? I have a long-running request that blocks all other requests on a single mongrel service instance. Ideas? Thank you all! -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part
2006 Feb 10
4
hiding header/footer on html print?
Hello all, I am using what might be a "poor mans" reporting... html -> print. Who knows a way to hide the browser-included header and footer of the print? thanks. -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was
2006 Mar 14
0
Hyperlink "pop-back" from popup window
Hello all, I have a popup window (via link_to :popup=>true) that contains a link to an external page. How can I get navigation of that link to go back to the original calling browser -or- launch a new browser window in the background? Thank you! -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter
2006 Jan 19
0
Microsoft is Coding4Fun with 37s Backpack!!
Hello all, I thought this was an interesting hit in my rss viaduct : Coding4Fun : XML 4 Fun : Taking the Backpack offline http://msdn.microsoft.com/coding4fun/xmlforfun/BackPackAPI_PartI/default.aspx The gist, learn XML with microsoft''s leet tools via the 37s Backpack API. -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer
2006 Jan 23
0
Best Practice? Referencing a remote reporting server
Hello All, I''m using SQL Server Reporting Services for my reporting needs. (Sorry, the ruby solutions don''t cut my mustard... yet) What would you all suggest the [Ruby|Rails]Way to encode the urls for my reports. Report server URLS: http://servercomputer/reportserver/appname/[reportfolder/..]reportname?option_a=value&option_b=value So, the "project-level''
2006 Jan 16
3
37s style modularization ?
Hello all, I remember and have lost a link to the blog on hints about 37s modularization of basecamp, backpack, etc. Anyone remeber this and can remind me of the link? Thanks ! -- ------------------------------ Forget the icing. Bake the cake! - the epicentered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was
2005 Dec 15
2
Migrations on SQLServer ??
Hello all, I''ve spent a while looking for a sniff of this on the wiki or google at large.. Does migrations work for SQL Server on 1.0 ? -- ------------------------------ Joyeux Noël ------------------------------ Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much. I have started using ruby on rails and when the MS SQL Server database is on a different box than my dev box (where the RoR app is located) I can connect fine. However when I try to connect to a MS SQL Server database on the same box as my RoR app I get an error. I have tried to use the IP address of the dev box as the value of
2005 Dec 14
0
Fwd: Logger bug in 0.14.3 ?
Hello All, I am top-posting this in hopes of increasing the visibility. This ticket has not been touched : Default Logger instance has no formatting <http://dev.rubyonrails.org/ticket/3144> For my installation, this is a BIG problem in my production logging !! For now the workaround below is working, and the double-declaration warnings of loading ''logger.rb'' twice are
2006 Aug 17
0
Using Views in ActiveRecord ?
Hello all, I have an enterprise MS SQL Server database system that is being used by multiple applications, both web and windows-clients. Some of the "tables" used by many databases are stored in one accessible database and used as views in the local database of each application. I understand that I can setup multiple database AR connections. That is a potential alternative. I want to
2010 May 06
5
Bundler for Rails 3 Engine
Hello All, My google-fu did not find this answer : How do I configure a Rails-3 Engine so that the engine''s Gemfile is integrated with the parent-Rails-app''s bundle? Thanks Peter Fitzgibbons (847) 859-9550 Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org IM GTalk: peter.fitzgibbons IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org -- You
2005 Dec 30
1
Problems with Testing (Depot) demo app in Agile Rails book
I''ve encountered a perplexing problem whilst following along the demo app in the "Agile Web Development with Rails" book. Any help would be greatly appreciated. Here is a brief time line of my tale of woe:- 0. Been programming (business apps) and designing/building DBs for two decades - but new to both Ruby and Rails (so I apologise in advance if I''ve made some
2010 Jan 26
1
Mongrels Hanging in mysql_adapter.rb
Hi everyone, I have been trying to solve this problem for quite some time now and I really don''t have any further clue to investigate. I am running a mongrel_cluster 1.0.5-2 (mongrel verison : 1.1.5-5) on a ubuntu box with apache2 2.2.12-1ubuntu2.1 I have 4 different apps on the same box and each app has two mongrel instances. After a short period of time ( < 2 hours ) some of the
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody, I''ve been reading lot of material about Ruby on Rails, and it looks like really rocks. I''ve downloaded the one-click version for Windows and started to build the example cookbook app, found in: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 Everything looks good, but when I''m trying to create a new Recipe
2006 Nov 04
0
Weak DBI support for MSSQL (was rails and MSSQL transactions)
There is something seriously wrong with DBI support for SQL server. I have tried both DBI::ODBC and DBI:ADO and the following code always fails. ---------- Code require ''dbi'' host= "DEVELOPMENT_DATABASE_SERVER" database="adventureworks2000" username="someusername" password="Somepwd" db = DBI.connect("DBI:ADO:Provider=SQLOLEDB;Data
2005 Mar 09
2
LoadError
Hi, Im new to both Ruby and Rails, though am impressed by both. I am however stuck on a problem, when trying to run a demo. I''ve setup a postgresql database with a cookbook demo as per OnLamp, returned is the following error message: LoadError in Recipe#new No such file to load -- postgres script/server:48 Has anyone come across this error before? Anyone know how I should go about