Displaying 20 results from an estimated 160 matches similar to: "Problems reloading plugin extending AR model"
2010 Mar 09
1
db:migrate fails after upgrade to Rails 2.3.5
Hi -- I''m upgrading an app from Rails 2.0.2 to 2.3.5 in development on
a Mac OS/X Leopard. I unfroze the old Rails files, froze the 2.3.5
gem on the machine into the app, and some quick tests of the app
showed no problems.
However, after trying to run rake db:migrate, it fails silently. Run
with trace I get the output below. I gather it might be related to
plugin initialization or
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
Hi,
I needed to filter content of files (encrypt), before they are sent over the network to backup server.
The easiest way to do this was modifying Kyle Jones's "--dest-filter" patch.
Somebody was asking there this feature in the past, so I'm sending this patch to list.
Implementation details:
-filtering disables rsync alogrithm
-source filter makes temporary files in /tmp
2007 Sep 26
1
DO NOT REPLY [Bug 4995] New: source_filter dest_filter patch fails in 2.6.9
https://bugzilla.samba.org/show_bug.cgi?id=4995
Summary: source_filter dest_filter patch fails in 2.6.9
Product: rsync
Version: 2.6.9
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: nick@nickblundell.org.uk
2008 Sep 29
1
has_one :through with :source. How to alias association?
Hi to everyone,
I have the following models:
class Attachment < ActiveRecord::Base
has_attachment :content_type => [:image, ''application/pdf''],
:max_size => 3.megabytes,
:path_prefix => ''../private/attachments'',
:storage => :file_system,
:processor => :rmagick,
2010 Feb 08
5
Why are double sided polymorphic relationships lacking in Rails?
http://stackoverflow.com/questions/2224994/why-are-double-sided-polymorphic-relationships-lacking-in-rails
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2009 Apr 12
0
rails 2.3 nested forms with has_many through checkboxes
I was wondering if anyone knew of a way to combine the new nested
forms in rails 2.3 with a has_many through relationship via
checkboxes. Basically I have a page model, a page_category model and
a category_items join table. Pages have many page categories through
category items. The category_items table is polymorphic so i can use
it for other models who need categories (maybe this is
2008 Sep 23
2
Contional
Hi All,
I'm having trouble selecting rows to delete, that i can't seem to overcome.
Below is some sample data, i am trying to dedup the data based on each user,
and simultaneously the timestamp (at the side i have highlighted expected
row to be removed)
I've looked at the lag function but can't seem to make it work?
My logic ran along the lines of an ifelse statement and then
2005 Dec 31
0
Polymorphic many to many linking
Hi,
I''m trying to create a model where a few objects can all be linked to
each other through a central linking table. Table structure is like
this:
-- model class Computer
create table computers (
id serial,
description varchar
);
-- model Class user
create table users (
id serial,
name varchar
);
-- model class Desk
create table desks (
id serial,
location varchar
);
--
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello,
I encouter a problem when i try to do "rake db:migrate":
rake aborted!
can''t convert Hash into String
Here is the trace result:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
can''t convert Hash into String
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
2007 Aug 26
0
class reloading
Ezra, what''s the plan for class reloading in dev mode? I was
thinking of tackling that as a project, if no one else is working on it.
2006 Jun 13
1
reloading modules
hi,
can anybody tell me how i can reload modules automatically
that are living in my ../lib directory?
for the moment i need to shut down rails and restart
to see any changes.
thanks
ciao robertj
--
Posted via http://www.ruby-forum.com/.
2006 Apr 29
1
reloading include-modules inside controller not working
Hi guys,
I would expect an ActionController-derived class to reload _completely_ in
development mode.
class FooController < ApplicationController
include FancyStuffSupport
def index
# bla
end
# more actions here
end
However, the ''FancyStuffSupport'' is not reloaded, only the ''FooController''
itself. Can this behaviour be changed? I feel back
2007 Feb 16
1
Puppet client not reloading manifest
Hi
I have installed the puppet master daemon and a puppet client but the puppet
client is not periodically reloading the manifest, even though the client
connects successfully and applies the manifest when started up the first
time. My simple test manifest looks as follows:
node default {
file {"/home/ubuntuvm1/test.txt":
mode => 777
}
}
Is it possible to set the
2008 Mar 13
2
Reloading lib files
Hi,
I have some Ruby modules inside my merb application /lib directory.
Problem is: Every time I make a change in these files I have to restart
Merb.
This becomes impossible after 1000 restarts in 10 minutes.
Can anybody say some magic words to save me?
Thanks,
-Sergio
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
We are creating a simple widget portal for our site and trying to use
Sortables. Each of our widgets is an iframe. But when you try to
drag an element containing an iframe the Sortables api causes the
iframe to reload at each possible drop point. This causes the ui to
shutter and become unusable.
I have narrowed the issue down the onEmptyHover where
dropon.insertBefore is called. Is there a
2008 Feb 10
2
Mongrel in development mode not reloading classes
Hi there,
Even though I am running Mongrel in development mode, I have to
manually restart Mongrel to load any changes that I have made to
controller or model code.
This is the output when I start Mongrel:
$ script/server start
./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use
gem instead.
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
2007 Dec 10
2
Reloading pxelinux via menu.c32
Hi All,
I have used menu.c32 to offer several booting
options to our users via pxelinux... the icing on
the cake would be if there was some mechanism
whereby the pxelinux boot could be restarted,
with the usual search for pxelinux.cfg/... files...
all without a reboot and going through POST.
Does anyone know if this is possible or if a comboot
module exists for such a thing ?
Cheers,
Doug
2010 Jan 06
1
Reloading puppet client after nss change
I''m using puppet to push around nss-db updates but I''m having problems where
the currently running puppet instance doesn''t see the new users from the new
nss-db files until it re-executes. This causes problems when I have modules
to create ssh authorized_keys files directly after this (the dependencies are
set up properly; puppet just can''t find the users).
Is
2007 Oct 17
2
rails not reloading
It appears that rails ''should'' reload controllers as they are modified.
"As soon as a method is created or changed, it immediately is noticed
and integrated into the current Rails system."
http://www.linuxjournal.com/node/8433/print
Do other peoples'' rails do that? Is this just me?
If I understand correctly with each call it should load the file with
the
2000 Feb 23
2
Reloading services after SIGHUP
running 2.05a on red hat 6.1
I get a lot of these in my logs:
smbd/process.c:timeout_processing(868) Reloading services after SIGHUP.
Can anyone shed any light on this?