search for: monitorship

Displaying 3 results from an estimated 3 matches for "monitorship".

Did you mean: monitorships
2008 Feb 18
5
uh... fixtures?
...xtures = false config.fixture_path = RAILS_ROOT + ''/test/fixtures/'' # borrow existing ones ^ config.global_fixtures = :posts, :topics, :users And here''s a Beast test translated into a spec: describe Post do fixtures :forums, :moderatorships, :monitorships, :posts, :topics, :users it ''should require body for post'' do @post = topics(:pdi).posts.build @post.valid? assert @post.errors.on(:body) end end And the whiny nil error message hits topics(:pid). Any ideas? -- Phlip
2011 Mar 02
0
polymorphic_path not getting generated
...r words, how do you generate a multilevel polymorphic path? Savage Beast plugin adds the following to the routes.rb # Savage beast routes BEGIN map.resources :posts, :name_prefix => ''all_'', :collection => { :search => :get } map.resources :forums, :topics, :posts, :monitorship %w(forum).each do |attr| map.resources :posts, :name_prefix => "#{attr}_", :path_prefix => "/#{attr.pluralize}/:#{attr}_id" end map.resources :forums do |forum| forum.resources :topics do |topic| topic.resources :posts topic.resource :monitorshi...
2009 Dec 31
0
Savage Beast For Rails 2.3
Hello rails.. I have some difficulties when integrate savage beast forum with my rails app 2.3. I found error : uninitialized constant SavageBeast::UserInit::Monitorship and then about routes..., how to set routes in order to when access http://mysite/forums the savage beast forum can be run. Anyone has a real implementation savage-beast in a rails app.., I thinks that will very help me...Sorry I am a begginer...:D, Thanks. -- You received this message because...