I have a rails 3.1 app and i cant seem to delete my images via ajax. my code smaple is def destroy @photo = Photo.find(params[:id])
I\'m getting a problem with jQuery UI\'s toggleClass(), where if I leave the duration off, it behaves as expectedly, but with a specified duration, it only applies the class for the specified duration
I have the following models: class Address < ActiveRecord::Base validates_presence_of :street, postal_code
I upgraded a rails application to rails 3.1 (rc4) and now get random segmentation faults in activesupport. These faults happen when starting the application (rails s) or running tests (e.g. rake spec)
I just created a super simple Rails 3.1 engine https://github.com/millisami/mero_cms and it works. It only supports ActiveRecord. Now I want to add additional or just MongoId ORM to make it a little
I am wondering what is the easiest way to do the JavaScript Unit testing as part of Rails 3.1 application.
I\'m new to RoR and started making a project recently.The project has public/stylesheets and public/javascripts for my CSS and JS.
It appears some of my seeds are not saving. For starters, I will show a console session so you can see that the \'instructor_id\' is indeed being set in the console, but not when I seed.
I\'m using Rails 3.1 beta with Ruby 1.9.2 and rake 0.9.2, and have a bunch of rake tasks I\'ve written. Here is an example:
I would like to know if there is a way to change the default URL of the new asset pipeline location in Rails 3.1.