Displaying 20 results from an estimated 1000 matches similar to: "gem for storing and tracking changes"
2011 Dec 19
2
Jquery Modal Dialog with Jquery DatePicker field strange behavior
Hi people.
I need your help here, please.
I have a rails 3.0.9 app, and I''m using Ajax to save some records to
the database. To achieve this, I use a jquery modal form, but one of
the fields is a datepicker, and if I click on it to display the
calendar it doesn''t work.
The thing is, I press submit without fill all the fields, so, my
custom validations were shown, telling me
2011 Nov 04
1
add dynamic nested attributes without nested form gem
Hello people
In my rails 3.0.9 app I''m trying to add nested attributes
dynamically, but I don''t want to use "nested form gem"
So I found this example
https://github.com/alloy/complex-form-examples/blob/a234fde4419836f277d7e340657f1d8418911d68/app/helpers/projects_helper.rb
but this code doesn''t work
module ProjectsHelper
def
2011 Aug 29
1
jquery datepicker not working with nested forms rails 3
Hi people
I have a problem with the Jquery "Datepicker".
If I use datepicker in a simple-form, I have no problem... but I need
to use it in a nested form that add fields dynamically, and everytime
I add new fields I have a field that needs to use datepicker.
I''ve reading the web, and many people have the same problem, but
nobody get a solution for this issue
Could you help
2009 Nov 26
4
Is this a bug?
Hello all, while I''m using acts_as_audited(on jruby platform),
after vendored the acts_as_audited, it reports some error,
line 167,
# Start observing the declared classes and their subclasses.
def initialize
Set.new(observed_classes + observed_subclasses).each { |klass|
add_observer! klass } #this line
end
after some trace shows this one, when observed_classes is empty, will
2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi,
Just wondering when one would use "include" over "extend"? Both seem to
bring in methods to the class no?
The context is I''m just trying to understand why both are used with the
acts_as_audited plugin:
Full extract from plugin (used within here):
==================================================
# Copyright (c) 2006 Brandon Keepers
#
# Permission is hereby
2015 May 25
4
[LLVMdev] LLVM profiling
Hi guys,
I am trying to perform edge profiling using on hello.bc file by using
following command
opt -insert-edge-profiling hello.bc -o hello-edge.bc
but I get the error that option "-insert-edge-profiling" is unknown. Can
you please help me to solve the issue. Please note that I am following the
paper available at this link
http://llvm.org/pubs/2010-12-Preuss-PathProfiling.pdf
2016 Nov 28
2
Translation of custom attribute (defined for variables) from clang to llvm
Hi John,
I have looked into the EmitAutoVarAlloca() in CGDecl.cpp. However, I
could not figure out how to employ my custom attribute for code
generation. For example, my custom attribute is visible in CGDecl.cpp
but how can I generate based on my custom attribute
if (D.hasAttr<myCustomAttri>())
{
//What to do here?
}
What I wan in IR is something like below.
Without Custom Attribute:
2012 Jan 05
8
js update partial missing template
PermissionsController
def add_member
...snip...
@permissions = Permission.all
respond_to do |format|
format.html {
flash[:messages1] = @permission.user.name + " has been given rights."
}
format.js
end
end
app/views/permissions/add_member.js.erb
$(''#privileges'').replaceWith("<%=
2016 Nov 25
3
Translation of custom attribute (defined for variables) from clang to llvm
Hi Asit,
thanks for the reply.
But I guess I was not clear in my question. Actually, i dont want to use
__ATTRIBUTE__((ANNOTATE("MOVIATTR"))), since in documentation it is
stated that "This intrinsic allows annotation of local variables with
arbitrary strings. This can be useful for special purpose optimizations
that want to look for these annotations. These have no other
2011 Nov 02
3
activeldap and migrations
Stupid activeldap is messing with my mind ;-)
rails (3.1.1
activeldap (3.1.0)
rubygems-update (1.4.2)
I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models.
I want to add some more things to my models but activeldap is killing my attempts to create migrations...
cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings
error
2012 Mar 12
4
Help: Ruby Newbie Trying to Install on OSX 10.7.3
I entered in "rails" from the terminal prompt. Here is what I
got...... any help is appreciated
Last login: Sun Mar 11 15:26:54 on console
67-61-37-207:~ clesceri$ rails
Rails is not currently installed on this system. To get the latest
version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
67-61-37-207:~ clesceri$ sudo gem install
2016 Nov 25
2
Translation of custom attribute (defined for variables) from clang to llvm
Hi All,
I need your guidance about a custom attribute. I have defined one for
variables. It is accepted in the source code (without any warnings from
clang), for example in following snippet.
#define NEWATTR __attribute__((moviAttr(1)))
int main()
{
NEWATTR volatile unsigned int a = 5;
volatile unsigned int *p;
p = &a;
return (a+*p);
}
and actually when I Dump the declaration, after
2011 Jun 16
1
Deep cloning an ActiveRecord
I have a situation where I want to duplicate an ActiveRecord including
duplication of has_many relationships.
I''ve seen a few plugins but it seems unclear if they will work on
Rails3. So I was wondering if anyone has a good suggestion for a
plugin they are currently using to do this?
Basically I''m doing this because I have an object that I want to allow
my users to edit. I
2002 Jun 13
8
Red Code, Nimbda et. al
Hello, we are interested to learn how Shorewall can be configured to look
into a packet''s payload, say to look for footprints of Red Code or Nimbda
(for example). From the site web page features section we understand
Shorewall only looks into the packet''s header.
Your enlightening answer will be appreciated.
Regards
Jose.
2015 May 28
1
[LLVMdev] Opt option -dot-edge-numbers
Dear All,
I am using the release 33 of LLVM. This release supports
-insert-edge-profiling option for opt. But it doesnt provide/supports the
-dot-edge-numbers option.
Where can I find the file implementing this option (e.g, the source file
for edge profiling is located in lib/transforms/instrumentation)?
Please help me out.
Thanks
Naveed Ul Mustafa
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2005 Apr 24
8
losing NFS connection
Hello there!
Perhaps this is a little off-topic, but I notice this only on the Centos
box.
I'm running Centos 4 on an AMD64 which has the following entries in the
fstab to connect to NFS shares on a Fedora3 box:
192.168.1.12:/home/angelo/ /home/angelo/NFS_share1 nfs
rw,addr=192.168.1.12 0 0
192.168.1.12:/home/angelo/data /home/angelo/NFS_share2 nfs
rw,addr=192.168.1.12 0 0
2006 Jan 17
4
Delphi Application.
Friends,
Sorry my english, i'am speaking from brazil. I have a problem with an
delphi application running on wine 0.93. The application open exactly,
but the buttons not it appears correctly. I send the link of screenshot:
http://200.195.11.195/~prolinx/screen01.jpg
any help is coming well.
Thanks!!!
Angelo Braga
2006 Mar 04
3
file io and reading ogg vorbis files
Hi,
I am trying to find the specs for ogg vorbis but cannot find a complete spec
online, I need to know the format of the headers and what to look for in
order to sync, read, write, and manipulate the format easily with some
functions.
I know there are some examples of the code within the ogg vorbis dev tools
and there is a fileogg library that is mentioned but I have not seen this
elsewhere. I
2010 Jul 02
1
metafor and meta-analysis at arm-level
Hi,
I have been looking for an R package which allowed to do meta-analysis
(both pairwise and network/mixed-treatment) at arm-level rather than at
trial-level, the latter being the common way in which meta-analysis is
done.
By arm-level meta-analysis I mean one that accounts for data provided at
the level of the individual arms of each trial and that does not simply
derive the difference between