Displaying 2 results from an estimated 2 matches for "routesetextensions".
2009 Nov 10
10
Un-recognised routes that do exist, using namespaces & subdomain checking
...that doesn''t make a blind bit of difference.
Maybe RSpec is doing something different with the request, as if I
monkey patch the routing with the following I never get the dumps when
using RSpec even though both these are called pretty early on in route
recognition.
module Foo
module RouteSetExtensions
def self.included(base)
base.alias_method_chain :extract_request_environment, :debug
base.alias_method_chain :recognize_path, :debug
end
def recognize_path_with_debug(path, environment={})
puts path
puts environment.to_yaml
recognize_path_without_debug(pat...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb