similar to: master and slave issue.

Displaying 20 results from an estimated 1000 matches similar to: "master and slave issue."

2006 Feb 15
3
RailsTidy: validates your HTML
Hello everybody, I needed something to validates my HTML templates so I wrote a plugin and here is its first version: RailsTidy is a plugin for Ruby On Rails. It allows you to * validate your rhtml templates, * validate the html output of your functional tests, * clean the html generated by rails. For doing all this, it uses * Tidy[1], the popular HTML validator and
2006 Feb 17
5
getting old values
Hi all, I''ve add :before_update event to my model Before updating a record I want to check if new attributes differ to old attr. My question is how to retrieve old attributes in :before_update event ? thanks -- gratis egold 1$ http://shegold.com/
2006 Jun 01
5
History plugin
Hello, I felt annoyed enough when having to redirect user back to their previous location in a hackish way that I wrote this plugin. It avoids storing POST and Ajax request. It also has a facility to specify actions not to store in the history. If you are interested, it''s there: http://blog.cosinux.org/pages/rails-history See you all, Damien -- Damien MERENNE
2006 Feb 13
2
Do I need separate file for each model
Hi, I have some models in a file named genel. When I try to use one of the classes in my controller rails raises an error telling classname.rb is not forund even the file is required already. require "genel" require "hesaplar" class HesaplarController < ApplicationController def yeni_firma @emlak_firmasi = EmlakFirmasi.new @sehirler = Sehir.find_all end
2006 Feb 13
1
Component or plugin
Hi! I have been learning rails for a couple of week now. Mostly i''ve worked on a authorize/roles system and now i go to the point that i want to separate it from en rest of my application to share it with others and to use it in other projects. It is a quite simple system that i implement using before_filter. My vision is to separate the authorize methods and even some basic
2006 May 22
4
naming convention for bridge tables.
I read somewhere that the correct naming of bridge tables is in alpha order. For example. I have two tables: houses, and colors. If I want to create a bridge table to associate colors with houses, I would name the table: colors_houses The associations work fine. But, if I have a table named: track_houses. Building a bridge table called: colors_track_houses, gives me model associaton errors.
2006 Feb 14
8
Best Practices For back/cancel/return button
Are there any best practices for implementing a back/cancel/return button... even when the page you want to return people too is 2 pages back (when people submit form and then want to return)? Thanks :-) Your Friend, John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
Hello railers, I''ve always been annoyed by the fact that ERB doesn''t respect XML specs. As I mostly write XHTML, I''m trying to write a renderer using only valid XML files. Here is an example of a file so you get the feeling of what it''s going to do: <?xml version="1.0" encoding="utf-8"? > <html
2006 Feb 06
2
how do i reload a module in the vendor directory?
This seems like a fairly straight forward question. I have code in the vendor directory. Any modifications that I make to the code are not respected. My rails app is in development mode so I would expect any require ''code'' to be re-parsed. But this is not occuring... How so? I have a test to post if I need to, but I get the feeling that I am just missing something simple. I
2006 Feb 14
3
Ruby equivalent to PHP Beautify?
Hi all, I am working on a project in Rails for my senior seminar class. I am fairly new to Rails but I have done a major project, so I know a little. The one thing I cannot find however is a way to make the html code that is output look any cleaner. So, I was wondering if there was a function/library/extension that worked like PHP beautify. Thanks for your input in this matter. I am sure I will
2006 Mar 09
3
How to copy between databases?
I want to copy data from one database to another using rails. But, it seems that rails only will talk to one database at a time. Is there a way around this? Any help would be greatly appreciated. -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed...
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in public/cache rather than public [in order to set svn:ignore on all the files properly]. I can get page_cache_directory set correctly and the pages are cached in the right place but Mongrel isn''t serving them because it''s only looking for them in public. During development I know I can set -r public/cache
2005 Feb 25
2
Teaching R in 40 minutes. What should be included?
If _you_ were asked to give a 40 minute dog and pony show about R for a group of scientists ranging from physicists to geographers what would you put in? These people want to know what R can do. I'm thinking about something like: A. Overview B. data structures C. arithmetic and manipulation D. reading data E. linear models using glm F. graphics G. programming H. other tricks like rpart or
2017 Jul 18
3
Thanks to every one
On Sun, Jul 16, 2017 at 06:02:15PM +0100, Pete Biggs wrote: > > > > The physicists and mathematicians who count there need high durations. > > Yes. I too run HPC clusters and I have had uptimes of over 1000 days - > clusters that are turned on when they are delivered and turned off when > they are obsolete. It is crucial for long running calculations that you > have a
2003 Jun 19
5
Setting up 3.0 to authenticate to AD
After reading through the doc for setting up 3.0beta with ADS, I have gotten it to work along the lines of the the doc said. I can use wbinfo -g or -u top get the users and groups, I can use the net user or net group command to do it as well. I can login with the kinit program, perfectly well as well. Unfortunately, I cannot seem to connect to the linux machine from a Windows machine. I keep
2009 Sep 28
2
Regression line w/ residuals - tuning the plot
Hello everybody, I am sure this is a beginners' problem which is being asked recurrently every few months, but nevertheless I wasn't able to find the answer searching through the r-help list. So here is my problem: I would like to plot a set of points (y vs. x), a (linear) regression line through them, and on the second graph underneath the first one I would want to plot residuals vs. x.
2008 Mar 07
3
newbie question dovecot and ldap
Hello, Please let me know how I can troubleshoot this - driving me crazy! I have the following dovecot-ldap.conf file: hosts = ldap.ucmerced.edu dn=cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu dnpass=******** ldap_version = 3 base = ou=People,dc=ucmerced,dc=edu deref = never scope = subtree user_attrs = uid user_filter = (&(ou=Natural
2012 Oct 04
1
Coda, HPDinterval and multiple chains
Dear all, I'm not 100% sure if this question is best directed at the r-list, or a mailing list concerned with Bayesian analysis, so please accept my apologies if another audience may be more appropriate. I have been using the rjags package to run Jags models with multiple chains and store the results in a Coda based mcmc list. For instance, having created a jags model and done initial
2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already read this (I got some cryptic message in German about how my e-mail was not read?). Anyway, I was just wondering if there was any way to format the html that is output using <%= @content_for_layout %> I want to use something like the PHP Beautify. I guess I could write my own, but I was hoping that Rails already had
2007 Feb 27
14
Stop browser from "form filling" fields.
Hi all, I have a user login form which the browser keeps populating because of its form fill feature. So when anyone goes to log in it shows the previous login''s username and password. How can I stop the browser from populating a text field? Thanks in advance. Cheers, Diego --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to