search for: expensescontrol

Displaying 4 results from an estimated 4 matches for "expensescontrol".

2012 Mar 26
3
render :json not sending any data back ...
...() code: $(this).val() success: (result) -> alert result $(''#expense_price'').val(result) in the controller , I am correctly receiving the js call Started GET "/backoffice/expenses/rate?project_id=7&code=1 Processing by Backoffice::ExpensesController#rate as JSON .. Completed 200 OK in 2004ms (Views: 0.5ms | ActiveRecord: 2.6ms) in my controller def partner_rate ... @rate = "10.00" render :json => @rate # for testing purpose only end and the alert result is not displayed , what am I missing here ? thanks for y...
2006 Oct 17
5
lighttpd exits, don't know why
...be going wrong? Any help is appreciated. => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) Processing ExpensesController#new (for 127.0.0.1 at 2006-10-17 02:20:50) [GET] Session ID: 1d6777b6d44d39e2f0a1c8138e54a0a3 Parameters: {"action"=>"new", "controller"=>"expenses"} Account Columns (0.005781) SHOW FIELDS FROM accounts Rendering within layouts/expenses Rend...
2006 Apr 02
2
Problem with lighttpd on mac
...ooting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach (requires absolute paths in config/lighttpd.conf) => Ctrl-C to shutdown server (see config/lighttpd.conf for options) Processing ExpensesController#index (for 127.0.0.1 at 2006-04-02 11:09:05) [GET] Parameters: {"action"=>"index", "controller"=>"expenses"} ^C Interrupt (): /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/vendor/mysql.rb:1079:in `read'' /usr/...
2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got 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