search for: expenses

Displaying 20 results from an estimated 5957 matches for "expenses".

Did you mean: expense
2006 Jul 12
1
Question re: Computing a field in a DB record
I''m just learning Rails and have encountered a problem trying to set a field in a DB record based on the value of another form input field. Using the scaffold code, the create works as expected and the update (edit) also works. However, one of the DB fields (amount) is supposed to be computer from another (units): if the category field is "Mileage", amount= units *
2006 May 29
1
validation in a "subform"
I''ve been following the rails/osx tutorial at http://developer.apple.com/tools/rubyonrails.html This develops a simple application with expenses and accounts. Near the end of the tutorial, there is a view which allows expenses to be added to an account. This view has the "parent" @account rendered, then iterates throught @account.expenses to display the existing accounts, then has a form. <%= start_form_tag :action => ...
2009 Nov 18
4
rails newbie : routing error
After much ado about the naming of model adn controllers... model : Expense controller : Expenses route : map.resources :expenses Here I am using mysql database and created a unique index, since db:migrated created an id object and made it as primary key. Now in the def create @expense = Expense.new(params[:expense]) if @expense.save flash[:viola] = ''New expense saved.. be...
2008 Mar 08
9
Newbie worries with "Developing Rails Applications on Max OSX Leopard"
...lishment of the relation. I am unable to go any further than "Linking Models Together" : I can create the "vendors" mentionned in the exemple, and I can get an "event" to look to. But when I try to create an "expense", I get a message saying : >> event.expenses.create(:vendor => vendor1, :amount => 75.00) NoMethodError: undefined method `expenses'' for #<Event:0x125e008> from /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/ attribute_methods.rb:205:in `method_missing'' from (irb):2 Could anybody help me ? I...
2017 Dec 06
3
buildbot failure in LLVM on llvm-clang-x86_64-expensive-checks-win
I’ve had another look, and some of the failing tests don’t use temporary files, so I don’t think this is a case of tests having side-effects. Instead, I’ve noticed that in the build log (http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6552/steps/build-unified-tree/logs/stdio), llvm-tblgen.exe is built (my patch modified it), but the table-generation steps of the
2006 Mar 31
14
[newbi] Create a Model
...ad. #host: localhost #port: 3306 # Warning: The database defined as ''test'' will be erased and # re-generated from your development database when you run ''rake''. # Do not set this db to the same as development or production. test: adapter: mysql database: expenses_test username: root password: socket: /tmp/mysql.sock production: adapter: mysql database: expenses_production username: root password: socket: /tmp/mysql.sock # PostgreSQL versions 7.4 - 8.1 # # Get the C bindings: # gem install postgres # or use the pure-Ruby bindings on Wind...
2017 Apr 21
3
r300964 and the llvm-clang-x86_64-expensive-checks-win buildbot
clean buld forced the regeneration of X86GenGlobalISel.inc & AArch64GenGlobalISel.inc, which may have not happened otherwise. ‫בתאריך יום ו׳, 21 באפר׳ 2017 ב-18:29 מאת ‪Simon Pilgrim via llvm-dev‬‏ <‪ llvm-dev at lists.llvm.org‬‏>:‬ > For reasons I’m not sure about it needs a clean build every so often - > I’ve forced a build at >
2008 May 13
6
[LLVMdev] Iterator protocols
This is related to the general question of efficiency of unwinds. I'm mulling over whether to use the Java-style or Python-style iterator protocol for my language. The Python style is to have a special exception (StopIteration) that is thrown when the end of the sequence is reached. The Java style is to have a separate "hasNext" method on the iterator object that says whether or
2010 Jul 16
31
Added associations but don't see generated methods
...a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end http://rails.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html informs me that the following methods will be generated in Expense: vendor vendor= vendor.nil 1. Are my expectations correct? 2. What do I have to do to get them generated? (I can''t find any such met...
2017 Apr 21
2
r300964 and the llvm-clang-x86_64-expensive-checks-win buildbot
Hi, One of my commits earlier today (r300964) is causing llvm-clang-x86_64-expensive-checks-win to fail with a compilation error (http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/1331 <http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/1331>) and I'm having trouble figuring out why. I had seen something similar before on MSVC
2009 Jun 09
1
Read only configuration.
Hi, I currently I have a Samba share configured as follows: [pub_fileshare] comment = Public fileshare path = /u02/pub guest ok = Yes writeable = Yes There is a subfolder under /u02/pub called /u02/pub/expenses/hardware that I need to make read only. How do I do this? I am new to using Samba. I configured the share /u02/pub/expenses/hardware using the configuration below. This works as it is shared as read only. [hardware] comment = Hardware share path = /u02/pub/expenses/hardware read only = Yes gues...
2006 Apr 06
1
Look What 911 Will Cost in Canada
...sumptions and Methodology 5 5.2 Number of Customers 5 5.3 Number of 0-ECRS Calls 5 5.4 Bell Canada Average 0-ECRS Call Duration 5 5.5 Estimates of Demand Quantities 5 6.0 PHASE II COSTS 6 6.1 Study Assumptions 6 6.2 Study Period 7 6.3 Financial Parameters and Tax Rates 7 6.4 Cost Inclusions 7 6.4.1 Expenses Causal to the Service 7 6.4.2 Capital Causal to the Service 8 6.4.3 Capital Causal to Demand 8 6.4.4 Expenses Causal to Demand 8 6.4.5 Phase II Cost Summary 9 7.0 3RD PARTY ACQUISITION COSTS AND COSTS OF UNDERLYING CATEGORY I COMPETITOR SERVICE COMPONENTS 9 1.0 GENERAL 1.1 Purpose of the Study...
2014 Apr 24
2
Asterisk -rx, how expensive is it? Should you avoid "spamming" it?
Just like the subject sais - how expensive is it to execute a lot of these commands to keep track of different things in asterisk? I have avoided doing this because it feels a bit like a risk to spam the asterisk CLI this way, but is it really? CPU-wise it doesn't seem very expensive to do it 100 times a second (from a simple test I did), but is it possible it will affect the asterisk
2009 Aug 10
2
ggplot: colours to geom_segments
Just as an exercise I am tying to add colours to a geom_segment command. I can get one colour but not a sequence of colours. Can anyone suggest how I can get the green lines in the plot below to be different colours? I thought I could use a palatte of colours but that did not seem to work. Thanks ========================================================================= library(ggplot2) xx
2016 Mar 26
2
Existing studies on the benefits of pointer analysis
> > > > I’m still a big fan of context sensitive, flow insensitive, unification > based models. > CFL can emulate this in the same time bound. > Contrary to your claim, context sensitivity *is* useful for mod-ref > analysis, e.g. “can I hoist a load across this call”? Context sensitivity > improves the precision of the mod/ref set of the call. > > -Chris >
2010 Apr 14
35
Conditionally adding a link to a form -- how?
I''ve got two entities created by scaffolding: Expense & Vendor In Expense#new there''s a form with a Vendors-drop-down and a NewVendor- button. The latter button brings up Vendor#new. The Create button in Vendor#new brings up Vendor#show with Edit & Back links. I want to append a third link conditionally to Vendor#show: if the Expense#new form led to the Vendor#show
2016 Mar 26
0
Existing studies on the benefits of pointer analysis
On 03/25/2016 08:26 PM, Daniel Berlin wrote: > > Yeah. > It depends entirely on your goal. In reality, often what you really > want is something to say "hey, i've got this pointer over here, and i > really want to hoist it up here. Do something, tell me if that is > possible". > And this is one motivation of my current research: how can various precision
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2004 Oct 06
4
SNAT is less expensive than MASQ
hi, in the masq file''s documentation, there is a sentence: "If you have a static IP on that interface, listing it here makes processing of output packets a little less expensive for the firewall." this realy means that SNAT to the primary address is less expensive than a MASQ rules in the netfilter? is this documented anywhere in iptables/netfilter? thanks. -- Levente
2003 Aug 05
2
Why are FXO so expensive?
Hi, I've been browsing for FXO devices, and I'm really surprised at their costs. Why such devices are so expensive and somehow hard to get ? Samy. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030805/a92ee327/attachment.htm