Displaying 20 results from an estimated 2000 matches similar to: "how to get acts_as_versioned able to delete only selected ve"
2009 Aug 18
0
Odd results with Chi-square test. (Not an R problem, but general statistics, I think)
I'm far from an expert on stats but what I think you are saying is if you try and compare Baseline with Version 3 you don't think your p-value is as good as version 1 and 2. I'm not 100% sure you are meant to do that with p-values but I'll let someone else comment on that!.
total incorrect correct % correct
baseline 898 708 190 21.2%
2007 Feb 08
1
Diffrerence in "%in%" function to boundry setting via <>
Hi,
There is a point which is irritating me currently quite a bit and that is an
aspect of different behaviour between the %in% function and the
smaller/bigger than signs (<>). Here is are two examples to demonstrate what
I mean:
Example1:
> c(1,1,2,2,3,4,4,6,7) %in% c(1,2,3)
[1] TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE
Right, that is what I expect.
Example2:
> ps
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello,
Two lapply questions (system info and sample data below):
1) Why does the first form of command1 add the name of y _after_ the
str() output rather than before as does the second (preferred) form?
# command1 version1
invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n",
str(get(y)), "\n") ))
# command1 version2 (preferred output)
2020 May 03
0
Understanding VDO vs ZFS
On May 3, 2020 8:33:33 AM GMT+03:00, Erick Perez - Quadrian Enterprises <eperez at quadrianweb.com> wrote:
>sorry corrections:
>For this test I created a 40GB lvm volume group with /dev/sdb and
>/dev/sdc
>then a 40GB LV
>then a 60GB VDO vol (for testing purposes)
>
>vdostats --verbose /dev/mapper/vdoas | grep -B6 'saving percent'
>output from just created
2006 Dec 07
0
rails_file_columng + acts_as_versioned
Anybody using both of these plugins simultaneously? It appears that the
methods dynamically generated by rails_file_column don''t get added to
the Version class:
NoMethodError (undefined method `image='' for
#<Opinion::Version:0x35c9254>):
.//vendor/rails/activerecord/lib/active_record/base.rb:1847:in
`method_missing''
2007 Jan 28
0
problems with acts_as_paranoid (noticed while using acts_as_versioned)
hello,
I''m using the trunk versions of both plugins.
I''m running into this error when I run a migration to try and create
the versioned table for the model ''Note''
stack level too deep
/Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/
acts_as_paranoid/init.rb:5:in `belongs_to_without_deleted''
2006 Apr 13
2
acts_as_versioned gem
I''ve installed the acts_as_versioned gem, and it shows up as
installed when i do a "gem list"
After installing it, I set up my new model with the
"acts_as_versioned" line in its model file. I think went to run my
migration to create this table, and I got the following error:
== CreateDpslevels: migrating
================================================
--
2006 Jun 03
1
First time plugin user: Problem with "acts_as_versioned"
Hi,
I am having trouble with using the acts_as_versioned plugin. I installed
the plugin, and ran the migration. acts_as_versioned created the
versioned table OK, but when I try to use it I get an error. Here is
some console output:
>> m = Mymodel.find(:first)
NameError: undefined local variable or method `acts_as_versioned'' for
Mymodel:Class
Did I miss a step?
Ingo
--
2008 Aug 26
0
acts_as_versioned rails 2.1 namespacing
Anyone knows how to use namespace with acts_as_versioned-0.5.1?
Model example:
class Namespace::MyModel < ActiveRecord::Base
require ''acts_as_versioned''
acts_as_versioned(:class_name => "Namespace::MyModel", :table_name =>
my_model_versions'')
...
The error looks like:
NameError in Namespace::MyModel
wrong constant name
2005 Oct 18
0
Fwd: acts_as_versioned for many-to-many
> However, as I understand acts_as_versioned the models are not synchronized
> so when I look up the permissions of an old version of the employee I have
> to manually find the corresponding version of the permissions (ie the
> version of permissions that existed when that version of employee was
> updated), and when navigating to the corresponding system from that
> permission I
2020 May 03
2
Understanding VDO vs ZFS
sorry corrections:
For this test I created a 40GB lvm volume group with /dev/sdb and /dev/sdc
then a 40GB LV
then a 60GB VDO vol (for testing purposes)
vdostats --verbose /dev/mapper/vdoas | grep -B6 'saving percent'
output from just created vdoas
[root at localhost ~]# vdostats --verbose /dev/mapper/vdoas | grep -B6 'saving
percent'
physical blocks : 10483712
2006 Feb 17
2
acts_as_versioned and acts_as_taggable on same model?
I am trying to use acts_as_versioned and acts_as_taggable (plugin) on
the exact same model. Has anyone successfuly done this? I think
what I need to do is make model_versions acts_as_taggable instead of
my main model. Anyone have any other suggestions or any suggestions
how to do this?
Your Friend,
John Kopanas
http://www.kopanas.com
2006 Mar 20
3
help: acts_as_versioned setup error "undefined local variable or method ''base_class''"
Hi All,
Rails newbie here trying to set up acts_as_versioned according to Chapter 14
in the Rails Recipies book. I''ve taken the following steps (nearly
verbatim) as mentioned by the book:
- created the target model "Post"
- added the "acts_as_versioned" label to the model file
- generated a migration file
- added the table creation code and the command
2007 Nov 14
2
Globalize and acts_as_versioned
The subject says it all: Has anyone had any experience with using
globalize and acts_as_versioned (or equivalent) together. That is, I
would like the version control to take the locales into account, the
en-US translation could be on version 7 while the fr-FR version is 3.
Am thinking about extending these plugins but maybe someone has
already done this?
Tanks in advance.
Regards
Erik Lindblad
2008 Dec 01
3
acts_as_versioned and rails 2.2.2
Hi people I have tried to install the acts_as_versioned gem from
github in rails 2.2.2 but it seems to conflict with some methods in
the activerecords dirty.rb-file. I can solve some of the problem by
changing code in the activerecord, but I don''t think that was the
intention.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2006 May 06
0
Issues using GUID plugin: IDs and acts_as_versioned
Hi,
First off, I think the GUID plugin is very slick (
http://wiki.rubyonrails.org/rails/pages/Uses+Guid+Plugin). However, I''m
running into a few issues:
ISSUE #1) Rails'' handling of IDs as strings instead of integers. In
particular, it didn''t seem to work when I had a model doing "acts_as_list"
with a scope:
Example:
Class Big < ActiveRecord::Base
2009 Mar 26
0
acts_as_versioned and qa
Hi,
I have Article model and it has aasm_column qa, that is initially
"pending".
In order to get it reset qa column on new versions, I have made:
def set_new_version
write_attribute(:qa, "pending")
end
But now the aasm methods are also triggering the new version, dispite:
self.non_versioned_columns << ''updated_at''
2007 Dec 26
0
before_save with acts_as_versioned
Yes, I know about the :if/:if_changed clause on acts_as_versioned
... content_changed or author_changed ....
That''s not what I''m asking about.
What I''m wondering about is something like applying the spiffy new 2.0
sanitize as a ''before_save''
--
A little inaccuracy can save tons of explanation. -- Saki
2006 Sep 30
1
possible bug: edge rails, nested resources and images
Im trying to show images in my restful application and have finally
found what appears to be the source of the problem.
When i have the products resource nested in categories as showen below
in the first routes file i can see the categories index (/categories).
When i add the images to the products resource map as shown in routes 2
i get the error:
image_url failed to generate from
2005 Dec 27
4
acts_as_versioned
Hi,
I'm integrating acts_as_versioned (ar-versioned.rubyforge.org) in my
customized CMS rails application to set up revision control for pages.
Getting and viewing versions works allright, but when I try to revert
to a version in the following way, nothing happens to the actual data
in the object.
Link from page:
<%= link_to image_tag('revert'), :action => 'do_revert',