How to install oracle adaptor

11/18/08 | by sbak [mail] | Categories: Ruby on Rails

sudo gem install ruby-oci8

Permalink

How to install R in Ubuntu

11/18/08 | by sbak [mail] | Categories: Choice

1. Go to System menu -> Administration -> Synaptic Package Manager and search for “r-base” to install R that way.
2. marked r-base for installation, then click “Apply”
3.

will_paginate

08/12/08 | by sbak [mail] | Categories: Ruby on Rails

You can query page info such as
“per_page", “current_page", “previous_page", “offset", “next_page", “total_entries", “total_entries=", “page_count", “out_of_bounds?”

with will_paginate, you can simply replace find with paginate:

Request.paginate

Permalink

Testing

06/26/08 | by sbak [mail] | Categories: Ruby on Rails

For unit testing:

>ruby test/unit/request_test.rb

For create testing database
- First create a database request_test

- To copy schema across
>rake db:test:prepare

Permalink

oracle adapter

04/07/08 | by sbak [mail] | Categories: Ruby on Rails

If you have hard time connecting to oracle database, make sure you have oracle-adapter.rb in the correct directory.

/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters

Permalink

:: Next Page >>

my daily rice

| Next >

November 2008
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Linkblog

Misc

XML Feeds

What is RSS?

powered by b2evolution free blog software