Ok, i\'ve been using ajax in my rails apps for quite some time. Somehow, in my first Rails 3.1 app I can\'t get the basics to work..
Ok so I\'m playing around with a nested comments system on rails using Awesome nested set. I\'m currently implementing a recursive function to get the nesting working (I know for performance this is t
I have a Rails 3.1 application running on Heroku Cedar and it has a custom built Admin panel. Admin is just a namespaced controller/view combination which live in controllers/admin and in views/admin.
I may just be missing something simple, but I am relatively inexperienced so it is likely.I\'ve searched extensively for a solution without success.
Testing my site in Internet Explorer (testing with IE 9 at the moment) I saw many things wrong but quite a few things that I thought shouldn\'t be wrong.
I have a conditional validation in my Post model: validates :title, :presence => true, :if => Proc.new { |post| post.post_type == \"text\" }
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to disable logging of asset pipeline (sprockets) messages in Rails 3.1?
I get an error that look like this: undefined method `post_image_will_change!\' for #<Post:0xf4e9184>
I have a couple o开发者_如何学JAVAf fields created_by and updated_by in most of my tables. This would contain the user id of the user who created or updated the Object. is it possible to have a simila
I\'m trying to attach a file \"attachment\" to my upload model.The attachment field in my db after creation is nil, and links link @upload.attachment.url just redirect to a parent object.Maybe I\'m do