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
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',
= 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
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
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
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.
6 matches
Mail list logo