Posts in 'rails'

Xiaohong Deng

Jasmine Setup in UCB CS169x and SaaS Book

You can use either gem jasmine or gem jasmine-rails to set up Jasmine framework in your rails apps. In the SaaS book, it uses the latter. gem jasmine-jquery-rails is one way to exploit the extra matchers and fixtures loading feature from jasmine-jquery. It needs jquery as a prerequisite.

You won't …

Xiaohong Deng

Rails ActionMailer: Explain Why Calling Class Methods That Do Not Exist on Mailers Works

Here is an article from Karol Galanciak you can refer to as a start. I'm gonna rewrite his article in a way that conveys pretty much the same information with addditional detail generated by me reading the Rails source code. Hopefully it would crystalize your understanding on the subject further …