search for: static_pages_spec

Displaying 2 results from an estimated 2 matches for "static_pages_spec".

2012 Sep 16
0
tutorail test writing problem
...ic pages Home page should have the content ''Sample App'' Failure/Error: visit ''/static_pages/home'' NoMethodError: undefined method `visit'' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x0000080572bf98> # ./spec/requests/static_pages_spec.rb:8:in `block (3 levels) in <top (required)>'' Finished in 0.0099 seconds 1 example, 1 failure Failed examples: rspec ./spec/requests/static_pages_spec.rb:7 # Static pages Home page should have the content ''Sample App'' Failures: 1) Static pages Home page sho...
2012 Jul 17
24
Static Pages from Railcast
Hi everyone, I need several pages to be static but also modify when requested. I try following the railcast from Ryan at http://railscasts.com/episodes/117-semi-static-pages?view=comments Here what I have done!! rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string