Re: [Rails] update the index view ajax

2013-01-14 Thread Julien Estebane
Thanks Dheeraj but I don't think this is what im looking for as my app runs on heroku. I was hoping there would be a gem that solves this problem -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyon

[Rails] update the index view ajax

2013-01-14 Thread Julien Estebane
Dear rails mailing list, First a big thank you to everyone for you past, present an future help learned a lot fro here. I saw some relater threads on this but I need some more direct answers. I generated with scaffold an object which has multiple attributes. Some of those attributes in the

Re: [Rails] devise get current use in another controler

2013-01-04 Thread Julien Estebane
Thanks Dheeraj. That works! On Friday, January 4, 2013 4:05:13 PM UTC-5, Dheeraj Kumar wrote: > > current_user holds the current logged in user. > > -- > Dheeraj Kumar > > On Saturday 5 January 2013 at 2:28 AM, Julien Estebane wrote: > > Dear Rails folks, > >

[Rails] devise get current use in another controler

2013-01-04 Thread Julien Estebane
Dear Rails folks, I have a user that has_many items, and an item model that belongs_to user. In the controller for item, how do i access the current user that is logged in? it's very easy to access the current logged in user from when in the user controller/model/view with the @user variable, b

[Rails] Re: has_to and belongs_to realtionships are not showing up in database

2012-12-26 Thread Julien Estebane
25, 2012 9:25:17 PM UTC-5, Julien Estebane wrote: > > Hello, > > I am having what I might think is a basic problem...I can't get the > relationships of has_many and belongs_to mapped out correctly in the > database. I would expect, according to my MODEL and MIGRATION, t

[Rails] Re: has_to and belongs_to realtionships are not showing up in database

2012-12-26 Thread Julien Estebane
al' /home/user/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `' Tasks: TOP => db:migrate (See full trace by running task with --trace) On Wednesday, December 26, 2012 8:27:27 AM UTC-5, Frederick Cheung wrote: > > > > On Dec 26, 2:25 am, Julien Estebane wro

[Rails] has_to and belongs_to realtionships are not showing up in database

2012-12-26 Thread Julien Estebane
140", 3=>"2012-12-26 01:27:40.452140"}, {"id"=>2, "description"=>"stopping", "created_at"=>"2012-12-26 01:27:40.536188", "updated_at"=>"2012-12-26 01:27:40.536188", 0=>2, 1=>"stopping&q