search for: chappui

Displaying 20 results from an estimated 39 matches for "chappui".

Did you mean: chappuis
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 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 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
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 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
2006 Feb 01
5
Apache 2.2 don''t work with fastcgi
I''m trying to install mod_fastcgi for my rails app. I use Apache 2.2 and FastCGI 2.4.2 in windows xp. I have modified the httpd.conf adding LoadModule fastcgi_module modules/mod_fastcgi.dll (with mod_fastcgi.dll and mod_fastcgi.so in the modules directory). Whe i try to start Apache i have this error ---------------------------- apache: Syntax error on line 122 of
2006 Feb 28
19
Session magic question
Greetings! I could really use some help understanding what Rails puts into the session store related to the objects it creates. I''ve found documentation on how _I_ can put / get info into it, but can''t find the docs on what _Rails_ puts into it. I''ve got a simple app that collects some data from the user, stores it in a db record, allows the user to edit it, display
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 28
3
[AR] #{id} namespace visibility used in finder_sql
Dears, [Rails 1.0.0] I''m working with a legacy schema, and around my 20+ models i''ve used some AR constructs. They are based on a finder_sql doing some dirty sql and using #{id} from the ''pivot'' model for extracting data in other tables. like : class Division < ActiveRecord::Base set_table_name "legacy_division" set_primary_key
2006 Mar 01
6
Rails on 2003
The site describing how to set up IIS on Windows 2003 for Rails appears to be down: http://www.bitslapped.nl/articles/2005/06/05/rails-on-windows-2003 Does anyone know anywhere else where this information can be found? -- Posted via http://www.ruby-forum.com/.
2017 Jun 29
2
Change Rcode for a meta-analysis(netmeta) to use a random effects model instead of a mixed effects model
...emann| Complications| EF| 8| 30| 0,2666667| Aita| Complications| EF| 1| 16| 0,0625| Hove| Complications| EF| 31| 39| 0,7948718| Andersen| Complications| EF| 26| 75| 0,3466667| Krughaug| Complications| EF| 22| 75| 0,2933333| Moroni| Complications| EF| 0| 20| 0| Plate| Complications| IMN| 3| 30| 0,1| Chappuis| Complications| IMN| 4| 16| 0,25| Gradl| Complications| IMN| 12| 66| 0,1818182| Schonnemann| Complications| IMN| 6| 31| 0,1935484| Aita| Complications| IMN| 1| 16| 0,0625| Dremstrop| Complications| IMN| 17| 44| 0,3863636| Wong| Complications| PC| 1| 30| 0,0333333| Kumaravel| Complications| PC| 4|...