[Rails] Re: Creating a link_to from a collection_select

2012-09-17 Thread Brian Ekmark
Shameless bump ... can anyone help on this? On Thursday, September 13, 2012 9:32:34 AM UTC-5, Brian Ekmark wrote: I want to be able to change one attribute of a link_to to be what is the current selection of the collection_select. And needless to say I can't quite figure it out. app

[Rails] Creating a link_to from a collection_select

2012-09-13 Thread Brian Ekmark
I want to be able to change one attribute of a link_to to be what is the current selection of the collection_select. And needless to say I can't quite figure it out. app/views/tasks/show.html.erb Who would you like to assign this task to?br / %= link_to 'Myself', :controller = 'task_queues',

[Rails] Re: New to RoR: Need some assistance displaying data from multiple tables.

2012-09-07 Thread Brian Ekmark
= TaskOwner.where( :user_id = session[:user_id] ) end end On Thursday, September 6, 2012 12:52:11 AM UTC-5, uma mahesh varma Seeram wrote: Hi, What will be the query that runs for above association ? Thank You, Uma Mahesh. On Wednesday, September 5, 2012 9:57:37 PM UTC+5:30, Brian Ekmark wrote

[Rails] Re: New to RoR: Need some assistance displaying data from multiple tables.

2012-09-05 Thread Brian Ekmark
that belong to user1 On Monday, August 27, 2012 11:39:04 AM UTC-7, Brian Ekmark wrote: Greetings -- I am very new to RoR and I am reaching out for some assistance. I am creating a task management web app to practice and I'm not sure if I am running into more of a syntax issue or a design issue

[Rails] Re: New to RoR: Need some assistance displaying data from multiple tables.

2012-09-05 Thread Brian Ekmark
Nevermind ... I figured it out. I was stopping too short into the methods. Instead of mytasks.title I should have been using mytasks.task.title This dug down in the the linked/joined table just fine. -Brian On Monday, August 27, 2012 1:39:04 PM UTC-5, Brian Ekmark wrote: Greetings

[Rails] New to RoR: Need some assistance displaying data from multiple tables.

2012-08-28 Thread Brian Ekmark
Greetings -- I am very new to RoR and I am reaching out for some assistance. I am creating a task management web app to practice and I'm not sure if I am running into more of a syntax issue or a design issue. The problem I am having is that I am trying to reference a task for a specific user.