similar to: Rails on 2003

Displaying 20 results from an estimated 900 matches similar to: "Rails on 2003"

2006 Apr 18
2
ruby on rails and Micro$oft environment support - IIS & ms sql
Hi everybody At work we''ve finally convinced the chief to develop some small project using open source technology. Unfortunately we are deeply involved with Micro$oft technology. That means, windows 2003 server, IIS, MS SQL 2005 and asp. I was thinking about recommending ruby on rails instead of asp, but I''d like to know how well it goes with IIS and MS SQL, because for the
2006 Feb 13
8
Anyone have Ruby for IIS installer?
Erwin: We found it''s not worth the time to do this. It won''t work reliably. You''re in for a world of hurt. We''ve given up on the idea after several months of trying (and some great feedback from this list). There are some on this list who claim to have gotten it to work, but that might just be luck. We''re now using Apache on a higher port, and using
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products. I am trying to get a test application put in however I''m not sure what to do about the infratstructure. If it were up to me we would put in MySQL and Apache or Lighty, however its not up to me. The easiest way to get an application into production at our company would be to use the existing MS SQL server and IIS
2006 Apr 04
21
Rails on IIS
I just spent the last two days trying to get Rails on IIS to work with Windows 2003/IIS 6.0. I think I''ve finally got it working, but it took more googling than I care to describe. Now I''ve got a few questions: 1) Is there some ''official'' Rails on IIS guide on this site on another official ruby site that''s known to work well? 2) If not, can someone
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All, Mongrel 1.1.3 Rails 2.0.2 Ruby 1.8.6 Windows XP SP2 When I issue the command "ruby script/server" from any of my Rails projects on v. 2.0.2, I get a Windows dialog with the error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." I''ve gone through the process of attempting to introduce
2006 Feb 10
22
Mongrel 0.3 -- Runs Ruby On Rails
Hello Folks, This is the long awaited release of the Mongrel HTTP library that supports *Ruby On Rails*. I know tons of people have been waiting for it, so I''ve got a few things to lay down first before you get all excited: 1) It''s very very ALPHA support for Rails. It will run a Rails app, and runs my simple apps, but it''s not fast or correct as it needs to
2006 Feb 01
3
Getting database config info
Hi folks. I have a very small problem which is probably very simple. But I''ve scoured the api and the rails book with no luck. I''m trying to get information about the database definition out of active record. When I go into console and say ActiveRecord::Base.connection I get a MysqlAdapter object, with an instance variable called @config that''s a hash containing all
2005 Dec 21
7
use of SET command in find_by_sql
Hi, I''m trying to execute something like this method in a model: def self.sql_for_rankings() sql = "SET @counter:=0;" sql << " SET @counter:=0; SELECT *, @counter:=@counter+1 AS rank FROM testscores. " find_by_sql(sql) end Where the new rank column is a kind of autoincrementer inside of
2006 Feb 24
5
Controller Methods gets called twice on single invocation
I have no idea why this is happening but it seems like every method on my controller gets called twice. Here is what it looks like when I call a list using the scaffold code ========================== Processing DepartmentsController#index (for 127.0.0.1 at 2006-02-24 01:05:00) [GET] Parameters: {"action"=>"index", "controller"=>"departments"}
2006 Jan 09
6
Rendering dynamic Gruff image (send_data)
Dears, Got a controller witch do a send_data for displaying a chart. like : send_data(g.to_blob, :filename => "any.png", :type => ''image/png'', :disposition=> ''inline'') I actually do a <img src="http://myhost:3000/stats/make_graph" /> Is there any way more clean to do that ? At minima don''t hardcode the beginning
2005 Dec 29
4
Paginate do a Count(*) request before, how access that count value.
Hello, AV::paginate query first by a count, how access this value in the controller or view ? Why ? Because I''ll like to display the total number or records found w/o doing another expenssive Count. Thanks,
2006 Jul 06
4
Oracle HR on Rails
Interesting read...apologies if it has been posted already. http://www.oracle.com/technology/pub/articles/saternos-rails.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/619e650a/attachment.html
2006 Feb 02
4
How switching global layout (application.rthml <or> custom.rhtml)
Dears, My railsapp run using ''/layout/application.rhtml'' and under some conditions ( Authenticated user, url parameter) I like to switch globally to another layout, let''s say custom.rhtml Like : class AppController < ApplicationController before_filter :context_layout def index end end # application.rb def context_layout if <context_condition>
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears, My Ror setup works.. but I can''t guess why <%= stylesheet_link_tag ''style'' , :media=> ''screen''%> is rended as <link href="/stylesheets/style.css?1154009736" media="screen" rel="Stylesheet" type="text/css" /> What is that number.. any usage ?? Or I misconfigured something ? Thanks
2006 Apr 27
6
How to trim a string?
This must be really simple but I have looked everywhere. I have a <%= item.description -% in my view and I want to trim it to 10 words. The description can be long and I want to trim this in my preview? -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it: invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id, telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611) where ago.prova_stats is the table used by me and that have only the columns ''cognome'',''nome'' and ''telefono''. My table hasn''t the column
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and
2006 Apr 10
1
[Q] How run Custom code on each request/action
Dears, For obscure reasons I''ll like to reset a session key when request/action is outside a specific controller. Is there a common place in the app where I can put such code, instead of adding statements in each controllers ? DRY Thanks, Mathieu
2006 Jan 05
4
Apache2 and popen
I''m running Apache2 on windows and I have a controller that issues a popen. class FileController < ApplicationController def index f = IO.popen("dir") @files = f.readlines end end This works using webbrick but on Apache produces... ---------- Errno::ENOENT in File#index No such file or directory - dir RAILS_ROOT: C:/www/teensymud/public/../config/..
2005 Dec 22
1
[NEWB] How to access database.yml parameters in a controller
Hi, Are the active database.yaml attributes for the current environment (dev, prod, test) available inside a controler ? adapter, host, db, socks, etc. AFIK Class#connection don''t give back theses infos. Thanks