similar to: show render time on pages

Displaying 20 results from an estimated 1000 matches similar to: "show render time on pages"

2006 Apr 08
5
Creating sub actions
Hi, So finally I have also decided to roll my engines on Rails. But I am kind of stuck in a situation. I understand that for every model there is a controller class. This controller class has cirtain set of methods where each method defines cirtain action to be performed. And each of this action renders cirtain UI. [The background] Now let say I have a object "Car". Apart from
2005 Dec 25
4
How to display a welcome page
Wow, I can''t believe that after a few weeks of playing around with Rails I got stuck on something that seems like it should be really simple. How do I display a default welcome page for visitors who are not logged in and send logged in users to the appropriate controller. I am using the login_engine and the user_engine. The two methods I have seen looking at sample code are to stick a
2005 Dec 26
2
special characters in rhtml
Is there any pattern how to use non-english fonts right in rhtml file? Using ą is frustrating. Thanks, Szczepan _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 25
2
Caching of models?
Hello, people! I have a problem. I googled, asked for help on IRC. I can''t find an answer. Suppose I have model Cart (from "Agile Web Development with Rails"). I added call to logger.warn("Some warning") to one of it''s methods. It fails with NameError, because ''logger'' is unknown to model. undefined local variable or method
2005 Dec 26
3
data insertion in multiple tables
I have two tables like: Table A: id (autoincrement) name Table B id id_of_A desc I want to add a record to table A and based on the id of A, I want to add a record to table B. I don''t think there is any SQL command that support this (at least in MySQL 4.1, so I use LAST_INSERT_ID()). (Is there any other way? or MySQL 5 support any special SQL command?) But I need
2005 Dec 24
2
Eleven??
I was poking around in the Gentoo Linux repository yesterday, trying to satisfy my curiosity about how many programming languages there are in "common use" today. I found one called "Eleven" which is quite strangely similar in intent to Rails. The home page is http://eleven.sourceforge.net/. Eleven is much simpler than Rails, and there are some interesting ideas in it. To
2006 Jan 04
5
check if a file exists?
Hello all! I have a list of people on a page, and some of this people have pictures of them stored on the web server. So I have an image tag like this on my page: <%= image_tag "/images/people/" + person.pers_id.to_s + ".jpg" %> But not all have a picture, so if the file for pers_id=1899 does not exist, i would like to display a custom image for that guy. How can I do
2008 Jan 23
14
Again: Workaround found for request queuing vs. num_processors, accept/close
Hello all. I too found out that I sometimes have some action that can take up to 10 seconds in my rails application. I''ve read all arguments Zed made about polling/and inbox strategies, and I think I just can''t work around my feeling that a "wrong" request that takes up too much time should be able to lock subsequent requests in mongrels queue. That''s what
2010 Apr 30
5
Asterisk and Patton
Hi, we have and Asterisk server connected to a Patton Smartnode 4638 with 4 BRI. We configured 4 SIP account on Patton (1001, 1002, 1003, 1004). The system is fully functional, but we have a problem to recognize incoming calls from Asterisk: when a call come from SIP/1001 (BRI 1 on Patton) or SIP/1002 (BRI 2) or SIP/1003 (BRI 3) Asterisk record a call coming from SIP/1004. I have contacted Patton
2008 Jan 25
2
Apache, proxypass and REMOTE_USER
Hello, still trying to get things going. With proxypass the REMOTE_USER variable set by mod_auth_* is not passed to mongrel. I found another admin that has the same problem[1], but no solution. Did someone here solve this problem? [1]http://mail-archives.apache.org/mod_mbox/httpd-users/200610.mbox/<323a37200610021509k6142cb08q6e6b0642e3261c6d%40mail.gmail.com>
2006 Jan 05
3
getting porn from rails link
Hello, http://wiki.rubyonrails.com/rails/pages/Tutorial is showing me links to porn sites Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060105/d4e011de/attachment.html
2006 Jan 30
1
find_by_sql and memcached
Is a find_by_sql query cached with memcached and cached_model (http://dev.robotcoop.com/Libraries/)? Looks like the answer is no. Is there a reason for this? I have a lot of very complicated querys with a lot of unions, subquerys and joins that would greatly benefit from the cache. Going through the code I can see that the find_by_sql method is changed in cached_model.rb, but it does not call
2005 Nov 30
1
[lighttpd] proxy.server and url.rewrite-once
i have a very simple lighttpd config that just forwards with mod_proxy some requests to different hosts lixe this: server.modules = ( "mod_proxy", "mod_rewrite" ) server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.errorlog = "/var/log/lighttpd-err.log" server.document-root = "/var/www/htdocs/"
2005 Nov 29
2
one rails application, many schemas
hello all! i am about to deploy an app that needs to connect to different schemas... uhm. let me explain. the app is located on a server (of course), and on the same server is a database with many schemas called new_york, cicago, barcelona, hongkong, singapore and so on. people from this citys need to use the app, and the app should connect to the correct schema depending from where they
2014 Oct 15
1
Asterisk 12 CDR dst field empty
Hi there, I have installed Asterisk version 12.6 (on Debian wheezy) and I note that, only when I make a transfer of call (attended or unattended), the fields 'dst' and 'dcontex' in the CDR are empty. This happen both in MySQL record and in CVS. Someone can confirm this event? Thanks in advance.
2011 Mar 28
1
add my own calculated conficence interval to a plot
Hi, I have a data frame like this: var1=years var2=Sex ratio (0<value<1) var3=lower 95% confidence interval var4=upper 95% confidence interval Is there a way to add these confidence intervals to a plot like this? plot(years,Sex ratio,type="b") Thanks in advance for any response [[alternative HTML version deleted]]
2011 Apr 15
1
GLM and normality of predictors
Hi, I have found quite a few posts on normality checking of response variables, but I am still in doubt about that. As it is easy to understand I'm not a statistician so be patient please. I want to estimate the possible effects of some predictors on my response variable that is nº of males and nº of females (cbind(males,females)), so, it would be:
2005 Nov 19
3
Form values not included in submit when ajax generated.
Hi. I have a form with two select lists, named ''project'' and ''activity''. The content of the ''activity'' list is changed when the selected item in project changes, using ''observe_field'' where project is observed, and a div enclosing ''activity'' is updated. This works as expected. The problem is that when
2013 Mar 14
1
Bootstrap encounter histories data
Hi all, I am working with a capture-recapture analyses and my data set consists of a typical set of encounter histories. Thus, for each individual I have a string (same length for all the individuals) consisting of 0 (not seen) and other numbers (seen in state "1", seen in state "2", etc. where state may refer to breeding, nesting, feeding, etc.). At the end of each string I
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
Hi, Ruby-GetText-Package-1.1.0 is now available. This release enhances many features for Ruby on Rails. I hope this release make your Application support L10n. And thanks for many helps! Highlights ---------- * Added some functions which managed po/mo files easily. * GetText.update_pofiles creates/updates pot/po files. The idea is from Sascha Ebach. * String% is extended to accept