Displaying 2 results from an estimated 2 matches for "phone_work".
Did you mean:
done_work
2014 Apr 11
0
Rails 4.1 activerecord_relation conversion to array problem
...tion to an array using to_a. I did use to_a but looks
like rails is doing a select count behind the scenes. Do you know how to
fix this?
def index
order_type = params[:order_type]
@oh = OrderHeader.select("orders_header.*, users.username, users.id
as customer_id, users.email, users.phone_work, users.phone_home,
users.phone_cell").
joins("INNER JOIN users ON users.id = orders_header.customer_id
").
where("orders_header.order_type='#{order_type}' and
orders_header.customer_id=#{session[:user_id]}").
order("id desc")....
2007 Oct 11
0
display problem with to_csv
...9;',
'''' as ''Other State'','''' as ''Other Postal Code'','''' as ''Other Country'',''''
as ''Assistants Phone'',
`phone_fax` as ''Business Fax'',`phone_work` as ''Business Phone'',
`phone_mobile` as ''Business Phone 2'','''' as ''Callback'','''' as ''Car
Phone'',
`phone_work` as ''Company Main Phone'','''' as ''Hom...