search for: bryanl

Displaying 4 results from an estimated 4 matches for "bryanl".

Did you mean: bryan
2007 Dec 04
1
spec''ing shared controller methods
...methods that are shared by controllers, and live in application.rb. Whereas I usually also provide examples in individual controllers that use these methods, not necessarily all the edge cases and I''d like to isolate the examples. This is the approach I''m taking (thanks to bryanl for suggestions and http://pastie.caboo.se/123626). WDYT? This example is a before_filter that finds the Account specified in params[:account_id], which may be used by any number of other controllers in my app. As you can see, the filter is still getting spec''d and has pending ex...
2007 Jun 29
0
[Screencast ANN] Smarticast: ActiveRecord Grab Bag
I just put a new screencast with a few ActiveRecord tips: http://smartic.us/2007/6/29/2-activerecord-grab-bag thanks bryanl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2007 Nov 26
0
custom matcher tutorial
...constantly. http://smartic.us/2007/11/26/rspec-matcher-for-active-record-associations You could use it as a custom matcher tutorial for the uninitiated or as a possible solution for validations specs for the more advanced. Or you could use it to school me, and explain why my code sucks :) bryanl
2007 Sep 05
4
Content assist for spec files
Hi there, I''m working on Ruby support for NetBeans, and we''re bundling RSpec (along with JRuby). One thing I''d really like to fix is having content assist (code completion / intellisense / code insight, it has many names) work inside your spec files such that you can not only hit ctrl-space and see "describe", "before", "it" etc.