similar to: How to debug the rendering in Rails?

Displaying 20 results from an estimated 1000 matches similar to: "How to debug the rendering in Rails?"

2006 May 18
0
SOLVED: Re: How to debug the rendering in Rails?
It seems to be working now. I used "puts" debug statement that were rendered to the webrick console in the dev environment, but that made fastcgi trip ... Cheers, Mariano On 5/18/06, Mariano Kamp <mariano.kamp@gmail.com> wrote: > > Hi, > > I have some controller code like this: > > def mailing_lists > @ml =
2007 Jan 12
3
Large file storage in database
I''m in the planning stage of an app that will store images and short video clips approximately 1 meg in size from user uploads. My partner wants to use the database to store all of the files, mainly for scaling purposes. I recently built a similar app using the filesystem, but that was to be run from a single machine. This new app will have 3 application servers and a fileserver
2014 Jun 04
2
error de incompatible methods
Hola Daniel, si perdona di a responder directamente y no me di cuenta. Ya se donde esta el error, pero queria preguntar si a puede ser que mi R funcione mal o algo porque esta manhana ejecute mi script y funciono perfectamente y ahora volvi a ejecutarlo y me volvio a dar el mismo problema de ayer , despues de reiniciar y demas el tinnR y el R, no se si me vacila o es que tengo algo mal en
2014 Jul 09
3
error com un archivo
Hola a todos, Me gustaria pedir vuestra ayuda a encontrar el error que no consigo encontrar en este archivo. He revisado todo mil veces y probado y no doy con ello.Adjunto el archivo con Google drive porque es muy grande. ? monicap_50.csv <https://docs.google.com/file/d/0B8o2KrPEgG7ATlBMc19lTVk1d3M/edit?usp=drive_web> ? Este es el script, y lo que no entiendo que pasa es que tengo 592044
2014 Jun 03
3
error de incompatible methods
Hola!! Estoy intentando ejecutar un script com horas, al principio ejecute estos comandos DBx$Date<-strptime(DBx$Date, "%d-%m-%Y") ###Monicap use ; other use Y DBx$Year<-as.POSIXlt(DBx$Date)$year+1900 if(filename!="monicap_50.csv") {DBx$Time<-paste(DBx$Time, ":00", sep="")} Pero me daba el error de que mi base de datos tenia las
2006 Jan 12
1
Best Forum? Was: Migration doesn''t seem to preserve create_table options in schema
Hi, is this the best forum to answer this question? Is there any better source for information or another mailinglist to address this question to? Cheers, Mariano ---------- Forwarded message ---------- From: Mariano Kamp <mariano.kamp@gmail.com> Date: Jan 8, 2006 6:24 PM Subject: Migration doesn''t seem to preserve create_table options in schema To: rails@lists.rubyonrails.org
2006 Jan 20
1
Time From String
Is there any Ruby / Rails way to take a string and convert it to time? timefstr Specificallc,y I''d like to convert iso 8601 fromats to Ruby Time objects or ActiveRecord time fields. -- Posted via http://www.ruby-forum.com/.
2012 Jul 14
3
Can't understand syntax
OK, I need help!! I've been searching, but I don't understand the logic of some this dataframe addressing syntax. What is this type of code called? test [["v3"]] [is.na(test[["v2"]])] <-10 #choose column v3 where column v2 is == 4 and replace with 10 and where is it documented? The code below works for what I want to do (find the non-missing value in a row),
2012 Oct 16
2
R Kaplan-Meier plotting quirks?
Hello. I apologize in advance for the VERY lengthy e-mail. I endeavor to include enough detail. I have a question about survival curves I have been battling off and on for a few months. No one local seems to be able to help, so I turn here. The issue seems to either be how R calculates Kaplan-Meier Plots, or something with the underlying statistic itself that I am misunderstanding. Basically,
2006 Apr 04
7
odd error
Hello everybody. I have just started trying rails, got instant rails and radrails... Made a new project, and when I tried to create a model I get the following error: Project> ruby script/generate model user -h -e:3:in `load'': no such file to load -- script/generate (LoadError) from -e:3 I?m sure this is a newbie question, I?ve searched the documentation and
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi, does anybody know if TMail supports nested multipart messages? I read a changelog that indicates so (http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven''t been able to get it working so far. Maybe I am doing something wrong here? I attached the sample mail. Here is the code to parse it: require File.dirname(__FILE__) +
2013 Mar 28
1
undefined method 'sanitize_limit' for #<ActiveRecord::Relation:0x2aaaad35d720>
I am trying to upgrate rails from 3.0 to 3.1, while updating rails version I am getting following error rake aborted! undefined method `sanitize_limit'' for #<ActiveRecord::Relation:0x2aaaad35d720> /some_package/lib/ruby/gems/1.8/gems/activerecord-3.1.12/lib/active_record/relation.rb:460:in `method_missing''
2012 Apr 28
2
"Modified Diebold-Mariano Test" with forecast package
Hi I tried to calculate modified Diebold-Mariano Test in R . I have already find a "forecast" package to calculate the Diebold-Mariano Test. Please let me know how to obtain " Modified Diebold-Mariano Test" ? Regards, Serdar -- View this message in context: http://r.789695.n4.nabble.com/Modified-Diebold-Mariano-Test-with-forecast-package-tp4594648p4594648.html Sent from
2006 Mar 25
3
Rails Plugins: Why to register your own functionality with send()?
Hi there, I have seen in the file column plugin ( http://www.kanthak.net/opensource/file_column/) from Sebastian Kanthak or David''s acts_as_taggable plugin that to register my functionality I need to do something like this: ApplicationHelper.send(:include, InPlaceEditAssociations) I am wondering why not: (a) module ApplicationHelper include InPlaceEditAssociatons end or: (b)
2006 Jul 07
6
get_service_ticket: kerberos_kinit_password ULISES$@SYSTEMMASTER.COM.AR@SYSTEMMASTER.COM.AR failed: Preauthentication failed
Hello from Buenos Aires. I am getting the following error when I do the net ads join command: get_service_ticket: kerberos_kinit_password ULISES$@SYSTEMMASTER.COM.AR@SYSTEMMASTER.COM.AR failed: Preauthentication failed I am running Debian, kernel 2.4.18 (geez, I should upgrade). I searched everywhere for this error but I can?t find any solution. Wbinfo -u works fine. kinit
2006 Nov 24
2
Diebold Mariano Test
Dear List Has anyone used R to distnguish between alternative forecasting models? In particular is the Diebold Mariano test available for use within R. Any assistance would be greatly appreciated. Graham Leask Lecturer in Strategy Economics & Strategy Group Aston University Aston Triangle Birmingham B4 7ET Tel: 0121 204 3150 E Mail: g.leask at aston.ac.uk
2005 Mar 09
21
Converting time retrieved from MySQL
I''m having a problem converting a date retrieved from my MySQL database and I''m hoping someone can help. MySQL stores the date/time as this: 2005-03-08 17:00:34.0 and according to my Pickaxe book Ruby stores times as "the number of seconds and microseconds since [...] January 1, 1970". All well and good. Unfortunately, RoR is converting my date to this:
2006 May 13
10
new user
Hi!!!! I''ve tried ROR! it''s fantastic!!! wonderful!!! I WANT LEARN ALL ABOUT IT!!! Do you have some links ( if exists in italian language ), or suggest me some book i can buy?? thx very much -- /\/\ariano Di Felice Java PHP Python programmer with MySQL, PostgreSql, SQLite and Oracle support Linux Platform Developer mariano.difelice@gmail.com Tel. 0735 703735 Cell +39 339
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all, Rails 1.0.0 created_on is being set to 2000/01/01 00:00:00 Any ideas on this ? Thanks! Schema is create table user_login_history ( id int identity(1,1) not null, user_id int not null, created_on datetime default(getdate()) not null, created_at datetime default(getdate()) not null, updated_on datetime default(getdate()) not null, constraint pk_user_login_history primary key clustered
2014 May 19
3
Opus DTX issue report
Hello: We noticed that opus reconstructed noise is pulsing with a 400ms pattern when dtx is enabled in silk mode. This is independent of the background noise level and is found with speech + non-speech period test files as well as variable level noise-only test files. This issue can be reproduced with opus v1.1 using this command: ./opus_demo voip 16000 1 25000 -dtx input.bin