similar to: Inheritance in helpers? Or should I do it all in a completely diffrent way?

Displaying 20 results from an estimated 10000 matches similar to: "Inheritance in helpers? Or should I do it all in a completely diffrent way?"

2006 Jul 02
2
Flat file as storage backend or what ...
Hi. I''m just starting out with Rails. I''m thinking of writing a web based PIM, partly as a learning experience, partly because I need one. I''ll be using iCalendar and vCard files for for storage because it will let me sync with PDAs, and use other already available PIMs. What would be the best practice for this? a) At the beginning of a session pull all my vevents
2006 Jul 06
0
Can''t generate AR from script (ActiveRecord::ConnectionNotEstablished)
Generating ActiveRecord instances from the console works fine. ./script/console Loading development environment. >> Pim.new() => #<Pim:0xb74427dc @attributes={"vpimitem"=>nil}, @new_record=true> >> But running this little script: #!/usr/bin/env ruby require File.dirname(__FILE__) + ''/../config/boot'' Pim.new() Will spit out
2018 Feb 14
0
Diffrent volumes on diffrent interfaces
Hi, I run a proxmox system with a glustervolume over three nodes. I think about setup a second volume, but want to use the other interfaces on the nodes. Is this recommended or possible? Bye Gregor
2018 Feb 14
1
Diffrent volumes on diffrent interfaces
Hi, I run a proxmox system with a glustervolume over three nodes. I think about setup a second volume, but want to use the other interfaces on the nodes. Is this recommended or possible? Bye Gregor
2019 May 13
1
Diffrent date codes from pwdLastSet and Password must change Time
Hi, i have little strange behaviour I have a bash script running to notify users about the expire of there password I query the users with ldapsearch and use pwdLastSet, but this search is diffrent to "Password must change Time" with rpcclient i now found out. Password must change Time is +1 Day vs pwdLastSet. can sombody explain this? pwdLastSet: 131945210982711300
2005 Dec 21
1
for_remote_tag to update diffrent <div> depending on call result ....
hi, is there a way to use form_remote_tag to update one div or an other depending on the call result...??? perhaps with evaluate_remote_response but can''t get it to work. help thanks olivier
2018 Mar 06
0
Multiple Volumes over diffrent Interfaces
Hi, I'm trying to create two gluster volumes over two nodes with two seperate networks: The names are in the hosts file of each node: root at gluster01 :~# cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 gluster01.peiker-cee.de gluster01 10.0.2.54 gluster02g1.peiker-cee.de gluster02g1 10.0.7.54 gluster02g2.peiker-cee.de gluster02g2 10.0.2.53
2010 May 17
0
Sharing same storage on two diffrent KVM hosts
Hello , I whould like your suggestion regarding the following problem : I got 2 host which are running under RHEL5.4 hypervizor . both of the hosts disks is a logical volume .( Each for each ) under the same VG . I want to add storage ( another logical volume ) which will be availble for both of the host as local disk . ( Share storage ) Thanks . -------------- next part -------------- An
2010 Feb 19
1
How to use same function for diffrent input values
Dear R helpers   I have written some function (the actual code I have pasted at the end of mail) like say   indiv_rate = function(n, rate_name, rate, rate_rf1, rate_rf2, rate_rf3, rateprob1, rateprob2, rateprob3) { ........some R commands   return(data.frame(rate_name, rates = round(rate_data, digits = 4)))   }   ## INPUT   rates = indiv_rate(n = read.csv('number.csv')$n, rate_name =
2008 Mar 19
4
plot with diffrent colour and plotting symbols
Dear mailing list members, I am a new R user, I would like to plot the follewing data var1 <- c(1,2,1,1,2,1,2,1,2,2) var2 <- round(rgamma(10,2,1)/0.1)*0.1 var3 <- c(0,1,0,1,0,0,0,0,1,0) var4 <- c(1,2,2,2,1,1,1,1,1,1) Var <- data.frame(var1,var2,var3,var4) Var <- Var[sort(Var$var1),] tt <- Var$var1+((runif(length(Var$var1))/6)-(0.5/6)) labelname <- c("time 1",
2009 Feb 13
7
Diffrent OS on domU in paravirtualization ?
Hi, It seems to be a very basic question, but need confirmation. I am using Centos as my Dom0, running xen, using paravirtualization. Can I run NON-CentOS (more specifically Debian) operating system on domU, -- Regards, Meghanand N. Acharekar " A proud Linux User " Reg Linux User #397975 ------------------------------------------ I was born free! No Gates and Windows can restrict
2005 Jun 20
0
WINS on diffrent Box to PDC
Hello I'm trying to setup a samba PDC on my server. The problem is that my server is in a dmz network, 192.168.2.0/24 and my lan is 192.168.1.0/24. So i decided to install samba on my Firewall box as a wins server. The WINS server is working perfectly. All of my Boxes on my lan can join the PDC, but cannot logon to the PDC. After looking in the logs i found this is what is coming when i
2006 Jun 12
0
Formatting in form helpers
Sorry if this is a FAQ but I couldn''t find anything on it: I want to display a number in an input text_field. I want it to display with commas, i.e. ''10,000''. I also want to allow the user to enter commas in the field. It''s a Float property in the model (could be a Fixnum instead). If the user enters an invalid number in the form (i.e.
2009 Oct 05
0
ActiveRecord Polymorphic Inheritance
I am using RoR ActiveRecord polymorphic inheritance and was wondering if it''s possible to access the base class'' association methods in the invocation of either to_xml or to_json without having to depict the base class data in the serialized string. Here are my classes: # base class class Asset < ActiveRecord::Base belongs_to :resource, :polymorphic => true
2003 Jul 09
2
I get two diffrent errors now...:-(
Hi Team, For the last several days I have worked very hard in trying to get a Samba PDC up. I have now reinstalled RH9- running Samba 2.2.7a and everything is running. But now I can't even get it to comeup as workf group. One error i get "SMIS DOMAIN" - Network Path not found. This is what iget with current SMB.CONF The othe one is in the attachment. Here is the current SMB.CONF
2006 Jun 23
1
instantiate record in single table inheritance
Hi, is there a way to instantiate a _concrete_ subtype from within an ActiveRecord collection? Example: class Link < ActiveRecord::Base end class InternalLink < Link end class ExternalLink < Link end internal_link = my_navigation.links.create_[xxxxxxx] external_link = my_navigation.links.create_[xxxxxxxx] the [xxx] is what I am missing... I could do this external_link =
2006 Jul 07
4
Controllers - model vs. use case centric
I am working on a reasonably large application (which happens to be my first with rails). I was hoping to get some input on organisation of controllers and actions. I am finding having used scaffolding more at the beginning my controllers tend to be very model centric, in that they mostly contain all the actions for management of that particular model, which may crash across multiple use
2006 Mar 17
0
Installed Gems on godaddy.com
Hi, is there a core list of gems that one needs to install in a production environment? Anyways, here''s a current list of installed gems on godaddy.com: Gems *actionmailer 1.0.1* [www] <http://www.rubyonrails.org/> - depends on actionpack <http://www.situationman.com/_h_admin_/gems.html#actionpack>. Service layer for easy email delivery and testing. *actionmailer 1.1.5*
2008 Jun 03
8
How to move a samba PDC to a diffrent box
Hello List, i have got a samba pdc running based on the smbldap tools and Debian Sarge. Now we would like to move everything over to Ubuntu Hardy. Can i simply: - Create the same users and groups with the same id on Hardy - Move the files and profiles over by keeping their permissions (rsync -avzp ...) - Set the samba SID to be the old orginial one (i do not know how this could be done and if
2006 Jul 27
0
CRUD, REST and associations
Let''s say I have the model class Reader and Magazine, connected by join model Subscription. It looks something like this class Reader < ActiveRecord::Base has_many :subscriptions, :dependent => :delete_all has_many :magazines, :through => :subscriptions validates_presence_of :name end class Magazine < ActiveRecord::Base has_many :subscriptions, :dependent =>