[Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread frocco
Hello, I have a products table that is related to category. category has many products. How do I query the products to also include the category? Once I do this, how to I show the category data in my template? Thanks -- You received this message because you are subscribed to the Google

Re: [Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread frocco
Thank you, got it working. On Tuesday, September 16, 2014 1:27:27 PM UTC-4, Vivek Sampara wrote: Please look into this http://apidock.com/rails/ActiveRecord/QueryMethods/includes On Tue, Sep 16, 2014 at 10:52 PM, frocco far...@gmail.com javascript: wrote: Hello, I have a products

[Rails] Re: Help with ckeditor image upload

2014-08-26 Thread frocco
I tried my rails app last night on my mac and it works fine. Today at work on my windows 7, it fails with [paperclip] Content Type Spoof: Filename cartoon_tire.jpg If I drop down to version 3 of paperclip, it works. -- You received this message because you are subscribed to the Google

[Rails] Re: Help with ckeditor image upload

2014-08-26 Thread frocco
I won't hold my breath. :-) On Tuesday, August 26, 2014 8:42:48 AM UTC-4, Alexander Trust wrote: Now you have an argument to tell your boss he or she should buy a Mac for you. :) On Tuesday, August 26, 2014 2:17:18 PM UTC+2, frocco wrote: I tried my rails app last night on my mac

[Rails] Re: Help with ckeditor image upload

2014-08-25 Thread frocco
I found the answer. Had to use https://github.com/rmagick/rmagick/wiki/Installing-on-Windows then set gem to gem paperclip, ~ 3.5.3 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving

[Rails] Re: Help with ckeditor image upload

2014-08-24 Thread frocco
If I cannot get this resolved, what editor do most use that allows users to upload and embed images? Tinymce? On Friday, August 22, 2014 11:18:44 AM UTC-4, Ruby-Forum.com User wrote: Hello, I am learning rails and trying to use ckeditor and paperclip. When I try and upload an image file,