search for: proforma

Displaying 9 results from an estimated 9 matches for "proforma".

2008 Apr 28
16
GiT and Edge/Trunk Rails
I have a sub-application project that I had previously converted to edge rails under svn. Originally, vendor/rails was set up with svn:externals so that an svn update at the project''s root would pull the latest trunk along with all the other updates. Since Rails has moved to GiT and depreciated svn I decided to remove the svn:externals reference for vendor/rails and reinstall trunk using
2009 Apr 17
5
When is nil not false?
...s is source = NilClass do we get here? why? TypeError: can''t convert nil into String from /usr/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open'' from /usr/lib/ruby/1.8/open-uri.rb:32:in `open'' from /home/byrnejb/Software/Development/Projects/proforma.git/app/services/forex_ca_source.rb:58:in `xchg_source'' from /home/byrnejb/Software/Development/Projects/proforma.git/app/services/forex_ca_source.rb:52:in `initialize'' from (irb):1:in `new'' from (irb):1 >> -- Posted via http://www.ruby-for...
2008 Jun 02
3
GiT and RSpec
...pt/plugin or git-clone, you can employ git-submodules (on GiT v1.5.3 or later) to obtain the effect of subversion externals. For example: ---> $ git-submodule add \ git://github.com/dchelimsky/rspec.git \ vendor/plugins/rspec Initialized empty Git repository in /home/byrnejb/projects/proforma.git/vendor/plugins/rspec/.git/ remote: Counting objects: 46810, done. remote: Compressing objects: 100% (10646/10646), done. remote: Total 46810 (delta 33521), reused 46810 (delta 33521) Receiving objects: 100% (46810/46810), 5.99 MiB | 103 KiB/s, done. Resolving deltas: 100% (33521/33521), done....
2008 Nov 05
1
Removed edge rails but cannot find installed rails
...CES: - http://gems.rubyforge.org/ As you can see, I have the cygwin environment on my laptop. Now, when I try and run rake or start the mongrel server script I see this error: $ rake rails:unfreeze (in /cygdrive/c/Documents and Settings/byrnejb/My Documents/My Projects/ca.harte -lyne.system/proforma.git) rake aborted! no such file to load -- /cygdrive/c/Documents and Settings/byrnejb/My Documents/ My Projects/ca.harte-lyne.system/proforma.git/config/../vendor/rails/railties/li b/initializer /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile'' (See full trace...
2009 Feb 02
12
[RSpec] rcov and/or rexml bug?
Hi, Running: Ruby 1.8.7 p72, RSpec 1.1.12 and rcov 0.8.1.2.0, I get the following error message with $ rake spec:rcov -- /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]'': no implicit conversion from nil to integer (TypeError) from /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap'' from
2008 Mar 26
2
Missing Method defined in controllers/application.rb
...# need this to strip out observer attributes for datebalks plugin @client = @entity.build_client(params[:client].datebalk!) I get this exception: undefined method `datebalk!'' for #<HashWithIndifferentAccess:0xb6c9276c> RAILS_ROOT: /home/byrnejb/Software/Development/Projects/proforma Application Trace | Framework Trace | Full Trace app/controllers/clients_controller.rb:49:in `create'' I evidently misunderstand something fundamental about the role of application.rb with respect to methods. Where should method datebalk! be defined or what have I done wrong? -- Posted...
2008 Nov 19
6
RSpec, TestUnit, Cucumber and Autotest
OS=CentOS-5.2 Ruby=1.8.6 Rails=2.2.1_RC Gems all up to date I have been experimenting with autotest and I have a few questions. 1. given export AUTOFEATURES=TRUE if ./test exists (with tests) then these tests are run and the features are not. Is this intended behaviour? 2. given require ''autotest/redgreen'' in .autotest if /test tests are run then all I get colourized is a
2011 Apr 17
3
Report for http://trac.xapian.org/wiki/SupportedPlatforms
...ip -9 omindex.1 scriptindex.1 \ && cp -p omindex.1.gz scriptindex.1.gz $root/usr/share/man/man1/ rm -f omindex.1.gz scriptindex.1.gz ) mkdir -p $root/usr/share/xapian-omega/templates/inc rsync -a --quiet templates/ $root/usr/share/xapian-omega/templates/ # Extra to Olly's proforma file list cp -p AUTHORS COPYING ChangeLog NEWS README TODO $root/usr/share/doc/xapian-omega/ # Equivalent to some of the "not found"? cp -p extra/omegascript.vim $root/usr/share/vim/vim72/ mkdir -p $root/var/lib/omega/data chown docmgt:docmgt $root/var/lib/omega/data if [[ ! -d $root/var/...
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client belongs_to entity. Entity has attributes name and legal_name. Entity also has an unique index on (lower(name)). The pKey for both is the conventional Rails id. Client has a fKey constraint on entity_id and is indexed in entity_id. In controllers/clients_controller.rb I have: # GET /clients/new # GET /clients/new.xml