> i installed: ruby 1.9.2, rails 3.1, oracle 10g XE, rubu-oci8 2.0.6,
> gem 'activerecord-oracle_enhanced-adapter', create database user named
> 'orak' with password 'orakpass' through 127.0.0.1:8080/apex, i maked
> new application 'orak' with database.yml parameters
> ORA-12514: TNS:listener does not currently know of service requested
> in connect descriptor
> Tasks: TOP => db:create
> (See full trace by running task with --trace)
The full trace would probably be useful, and -- disclaimer: I haven't
done anything with Rails 3.1 yet *at all* -- but try something like e.g.
> development:
> database: 127.0.0.1/orak
database: oracle:thin:@127.0.0.1:8080:xe
just for grins and see what that produces.
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
I did it so that I could have quick access to information about each talk and because 3 talks are scheduled in different rooms at each given time, I have assigned a field intitled "priority" which contains values 0,1, or 2 (descending order of importance, 0 being most important) depending on which talks I would prefer to attend at a given time slot.
This is working for my personal choices and can be seen here:
I would like to make this more useful by adding a new table for users that would contain a comma separated string of "priorities" associated with each id of "talks" table, so that I could display the data properly for multiple users. I will need to add user validation, etc..., but that I have done before and can do again.
The initial display should display the data sorted by priority,time (it does this now, but is setup to work for only for one user).
The priority field in the "talks" table needs to be moved to the users table, where I can store it in a text field as a string of numbers in talks.id order.
The users table would contain such things as firstname, lastname, username, password, and priorities.
If anyone could suggest a rails form helper or a optimal approach that would allow me to collect, store and display the data so that I could have multiple users, each with their own set of priorities, displayed as mine are now, it would be a great help.
I have shortened some of the titles for the sake of brevity. If any of the Railsconf 2011 speakers would like me to use a different image for them, email me your preferred image. If I am missing your image, please email me one that I can use. ;-)
Once I've got this latest part working, I'll make the sources available on GitHub along with the data in MySQL format.
-- Steve
s...@comcast.net