search for: fhwang

Displaying 10 results from an estimated 10 matches for "fhwang".

Did you mean: hwang
2007 Dec 16
3
how do I spec my Rails routes?
...:action => ''show'' Is there a way to have a controller spec test site-wide routing? It seems to me that the get and post methods are just controller- specific routing. If I can''t do it in a controller spec, where else should I do it? Thanks, Francis Hwang http://fhwang.net/
2006 Sep 21
4
strange matching: maybe a multilanguage collation problem?
Hi, We''re using Ferret in a slightly unorthodox way: We''re indexing a large (>100,000) list of names of places all around the world. Mostly we''re quite happy with it, and have been able to graft on our own particular required functionality with just a little tweaking. There''s one strange problem, though: We''ve got a place in Cyprus called
2007 Dec 23
1
Rails: possible routing discrepancy
...nt_page? works incorrectly and so does link_to_unless_current. Looks like that @controller.request is an RSpec request of some kind. Is it possible the RSpec request isn''t handling route generation correctly? Or should I be writing my spec differently? Thanks, Francis Hwang http://fhwang.net/
2007 Dec 01
5
specifying an HTTP status code
...stRequest#redirect?, which is only testing for a status code from 300..399. In an old-fashioned Test::Unit Rails test I could do assert_response, but I can''t see anything matching that in RSpec. Is there a less-documented feature I''m missing? Thanks, Francis Hwang http://fhwang.net/
2008 Jul 09
2
setting request.raw_post with rspec-rails
... is there a way to do this? We have some REST-ish POSTs we''d like to spec out. In the controller this gets accessed with request.raw_post.to_s, is there a way to set this with rspec? Thanks as always, Francis
2006 Apr 20
0
NYC Ruby Job Fair ‹ April 25th
...w.com. == Interested Rubyists RSVP With Francis You don''t *have* to do this but we''d like to judge whether we have enough space. Please send a short e-mail to Francis Hwang just saying you''ll attend. This is mostly for a head count. Francis'' e-mail is sera@fhwang.net.
2007 Dec 06
43
Mocks? Really?
OK, so i''ve played a bit with mocks and mock_models in controller and view tests and i have a question. Is this statement really correct: "We highly recommend that you exploit the mock framework here rather than providing real model objects in order to keep the view specs isolated from changes to your models." (http://rspec.rubyforge.org/documentation/rails/writing/views.html
2010 Aug 01
4
Admin interface for Rails?
Hello folks, I am currently working on a project that has to deliver an admin interface like the Django''s one, I wanna know if you know/ recommend any gem or plugin for that. Cheers, Rodrigo Alves Vieira -- 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
2006 Apr 20
0
EastMedia Group to offer Ruby on Rails training courses in New York City and London
EASTMEDIA GROUP TO OFFER RUBY ON RAILS TRAINING COURSES IN NEW YORK CITY AND LONDON EastMedia Group, New York City?s premier Rails shop, is now offering two separate training courses on Ruby and Ruby and Rails. On April 29, EastMedia will offer a one-day training course in New York, to be taught by Francis Hwang and Matt Pelletier. On May 5 through 7, Smartlab/Volks Lab and EastMedia
2006 Jul 26
13
tweaking minimum word length?
Hi, Can Ferret be configured to change the minimum word length of what it indexes? Right now it seems to drop words 3 characters or less, but I''d like to include words going down to 2 characters. How would I do that? Francis