Prev | Current Page 316 | Next

David Berube

"Practical Reporting with Ruby and Rails"

rb
create test/functional/reporter_controller_test.rb
create app/helpers/reporter_helper.rb
CHAPTER 11 n TRACKING THE NEWS WITH GOOGLE NEWS 227
This controller covers a single action, which renders the report.
Your next step is to create the single model, which represents your stories table, as
follows:
ruby script/generate model Story
exists app/models/
exists test/unit/
exists test/fixtures/
create app/models/story.rb
create test/unit/story_test.rb
create test/fixtures/stories.yml
create db/migrate
create db/migrate/001_create_stories.rb
Next, install CSS Graphs Helper by using the following command:
script/plugin install http://topfunky.net/svn/plugins/css_graphs
+ ./css_graphs/History.txt
+ ./css_graphs/MIT-LICENSE
+ ./css_graphs/Manifest.txt
+ ./css_graphs/README.txt
+ ./css_graphs/Rakefile
+ ./css_graphs/about.yml
+ ./css_graphs/generators/css_graphs/css_graphs_generator.rb
+ ./css_graphs/generators/css_graphs/templates/colorbar.jpg
+ ./css_graphs/generators/css_graphs/templates/g_colorbar.


Pages:
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328