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
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
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,
>
>
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
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
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
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
7 matches
Mail list logo