similar to: Acts Plugin Howto''s (Other than the rails wiki)

Displaying 20 results from an estimated 10000 matches similar to: "Acts Plugin Howto''s (Other than the rails wiki)"

2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of the rails libs if it exists in the vendor directory, or do I need to tweak something else to pick it up? Thanks! -Theo
2006 Jan 29
2
WEBrick not starting
I''m running WinXP and recently upgraded to the most recent version of rails. Unfortunately script/server gives me Booting WEBrick... Then it silently dies without starting. My previous version of rails can still run WEBrick just fine. Anybody seen this? -Theo
2006 Feb 19
1
has_many classes
Anybody know how to find out all the class names that a model has specified as "has_many"? I''m hoping there''s some sort of an array I can access.
2006 Feb 21
1
formhelper methods don''t work with render collection partials
I''m rendering a partial using a collection: <%=render(:partial=> ''record'', :collection => @records)%> Inside the partial, I''m attempting to create a new form for each row, generating elements like the following example: <%= text_field "record", "name" %> However, though my objects are fully populated, these form tags
2006 Feb 22
5
Auditing mixin for model classes. Small problem
I want to include common auditing functionality in my models. This involves storing the changes made to a model in a seperate table : I have created the functions in an Audit module : module Audit before_update :before_changes after_update :after_changes def before_changes old=self.class.find(id).attributes @changes=[] attributes.each do |key, val| if val != old[key]
2006 Jan 16
5
Soft Deletes
How would I go about setting up my rails applications to soft delete items from the database rather than actually deleting it. I would imagine that I need to over ride the methods from ActiveRecord. Where would I do this would it be in the model? enviroment.rb? I would imagine that if i wanted it throughout my entire application it would need to be in the enviroment.rb. Also to
2006 Feb 14
5
SSL and domain as account key
Say I have an hosted application which allows the user to use their own domain name (company.com) to access it, and that application must be accessed over SSL, how do you go about our SSL certificate not being registered to their domain. Sure the connection will be safe but the browser will pop up a warning saying the certificate is invalid for this domain. I dont think this problem occur
2005 Aug 26
5
net ads join error
Compiling version 3.0.20 from source on RedHat Fedora Core 4 everything seems to go smoothly. However upon trying to join a 2000 domain with the following command "net ads join -U Administrator%Password 'OU'" I get the following error: [2005/08/26 09:43:56, 0] utils/net_ads.c:ads_startup(191) ads_connect: No such file or directory I have checked my smb.conf file with
2005 Mar 18
5
idmap LDAP backend
I'm trying to use the LDAP backend for the idmap database but I just can't seem to get it to work. There really is rather pathetic documentation out there on how to implement this. I've basically got my ldap server setup with an OU called smb and another OU under it called idmap. Here is my smb.conf file: [global] workgroup = HQ server string = Theo's Samba Server
2006 Jan 15
5
ActiveRecordCache
I believe I heard some talk of an ActiveRecordCache being developed while I was on IRC... however, can''t find the actual project. Anybody know if this is being developed, or where I can find more information on it ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060115/b47317b2/attachment.html
2023 Feb 27
2
Checksums and other verification
https://github.com/kubevirt/containerized-data-importer/issues/1520 Hi Eric, We had a question from the Kubevirt team related to the above issue. The question is roughly if it's possible to calculate the checksum of an image as an nbdkit filter and/or in the qemu block layer. Supplemental #1: could qemu-img convert calculate a checksum as it goes along? Supplemental #2: could we detect
2006 Jan 19
7
Rails or Java J2EE (Spring, Struts Shale) - scalabilty
Hi, normally I am doing all my webprojects with PHP. But now I am planning to use a framework, either Ruby On Rails, or Java in particular J2EE with Java Spring, or Struts Shale. Well, I already tried RoR a few month ago, so I am simply comparing it to the Java alternatives now. My problem is, that maybe using Java for my projects is like using a dredger to grub a small hole :) But on the other
2006 Feb 01
8
Spring-rich killer: rails rich-client proposal
Hello Doug, I am not disputing anything you say and in fact, spring-rich is "okay" as far as swing development goes. But rails principles adheres to those which we hold near and dear such as "don''t repeat yourself" (note: spring-rich model, glazed lists model, jgoodies models) and "convention over configuration (note: xml config files). Let''s get away
2005 Sep 23
2
ADS Issues and possible bug in 3.0.20
Before I lay out the problems I am currently suffering from let me describe my environment: Dell OptiPlex GX270 2.6Ghz 512MB Ram RedHat Linux Fedora Core 3 with all current updates. Samba compile is version 3.0.20 stable. Uname -a: Linux theo.hq.navis.net 2.6.12-1.1378_FC3 #1 Wed Sep 14 04:24:31 EDT 2005 i686 i686 i386 GNU/Linux Everything was running fine until my last YUM update.
2001 Dec 20
2
Supplemental group support in smb.conf
Hi, I have a share in my smb.conf file that I want to share to members of a supplemental group, but I keep getting a network error. here is the share: [mp3s] comment = MPEG3 Encoded Audio path = /usr/share/mp3 public = no browsable = no valid users = +mp3users writable = yes create mask = 0644 I have a group called mp3users that inside my /etc/group file looks like this:
2011 Nov 29
1
How do I require a resource in a definition based on an array parameter?
I have a define that looks like this: define user::sys_user($fullname, $uid, $groups, $shell=''/bin/bash'', $authkey, $authkey_type=rsa) { $username = "sys_${name}" group { $username: gid => $uid, } user { $username: require => Group[$username], ensure => present,
2005 Mar 16
1
Samba configure script not finding ldap libs
Hey All, I'm trying to compile Samba 3.0.12rc1 on a Redhat Linux Fedora Core 3 machine. I have the following LDAP RPMS installed: rpm -qa | grep ldap gives: openldap-2.2.13-2 python-ldap-2.0.1-2 openldap-clients-2.2.13-2 openldap-devel-2.2.13-2 openldap-servers-2.2.13-2 nss_ldap-220-3 I run configure in the following fashion: CFLAGS="-O2 -march=prescott
2018 Apr 03
4
SCEV and LoopStrengthReduction Formulae
I am attempting to implement a minor loop strength reduction optimization for targets that support compare and jump fusion, specifically TTI::canMacroFuseCmp(). My approach might be wrong; however, I am soliciting the idea for feedback, so that I can implement this correctly. My plan is to add a Supplemental LSR formula to LoopStrengthReduce.cpp that optimizes the following case, but perhaps
2018 Apr 04
0
SCEV and LoopStrengthReduction Formulae
> cmpq %rbx, %r14 > jne .LBB0_1 > > LLVM can perform compare-jump fusion, it already does in certain cases, but > not in the case above. We can remove the cmp above if we were to perform > the following transformation: Do you mean branch-fusion (https://en.wikichip.org/wiki/macro-operation_fusion)? Is there any more limitation why these two or not fused? > -----Original
2015 Jan 19
2
Chromium browser for C6
On Mon, Jan 19, 2015 at 12:24 PM, Johnny Hughes <johnny at centos.org> wrote: > On 01/19/2015 12:23 PM, Phelps, Matthew wrote: > > On Mon, Jan 12, 2015 at 6:22 PM, Robert Arkiletian <robark at gmail.com> > wrote: > > > >> On Mon, Jan 5, 2015 at 1:13 PM, Robert Arkiletian <robark at gmail.com> > >> wrote: > >> > >>> Johnny,