Advanced Rails - Building Industrial-Strength Web Apps in Record Time

(Tuis.) #1
Further Reading | 95

Now, the test (acts_as_state_machine_test.rb) can reference ActiveRecord classes and
their fixture data just as in a standard Rails unit test.


Further Reading


Geoffrey Grosenbach has a two-part article on Rails plugins, including some infor-
mation on writing plugins. The two parts are available from the following:


http://nubyonrails.com/articles/the-complete-guide-to-rails-plugins-part-i
http://nubyonrails.com/articles/the-complete-guide-to-rails-plugins-part-ii
Free download pdf