tag:ianwhite.lighthouseapp.com,2008-04-30:/projects/10607-response_for/eventsianwhite / response_for Events2009-02-03T08:58:11Ztag:ianwhite.lighthouseapp.com,2008-04-30:Event/185265352012-03-16T14:03:58+00:002012-03-16T14:03:58+00:00Ian White[Changeset] response_for: Changeset [76c8b451868c4ddc48fa51410a391e614192a6a9] by Ian White<div><p>Update changelog<br>
<a href=
"https://github.com/ianwhite/response_for/commit/76c8b451868c4ddc48fa51410a391e614192a6a9">
https://github.com/ianwhite/response_for/commit/76c8b451868c4ddc48f...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185265032012-03-16T14:02:21+00:002012-03-16T14:02:21+00:00Ian White[Changeset] response_for: Changeset [067d0b6cf5ec565c35d12d9c4c688d45558401e5] by Ian White<div><p>Remove symbolic link, add contributors to README<br>
<a href=
"https://github.com/ianwhite/response_for/commit/067d0b6cf5ec565c35d12d9c4c688d45558401e5">
https://github.com/ianwhite/response_for/commit/067d0b6cf5ec565c35d...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261662012-03-16T13:44:18+00:002012-03-16T13:44:18+00:00Ian White[Changeset] response_for: Changeset [9691b04928ba1061cd8e408ac9436f226432b4fc] by Ian White<div><p>Ignore pkg<br>
<a href=
"https://github.com/ianwhite/response_for/commit/9691b04928ba1061cd8e408ac9436f226432b4fc">
https://github.com/ianwhite/response_for/commit/9691b04928ba1061cd8...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261532012-03-16T13:43:37+00:002012-03-16T13:43:37+00:00Ian White[Changeset] response_for: Changeset [1fe7eb658560bf3930dd5284a20a52d93a6a94aa] by Ian White<div><p>Docfix<br>
<a href=
"https://github.com/ianwhite/response_for/commit/1fe7eb658560bf3930dd5284a20a52d93a6a94aa">
https://github.com/ianwhite/response_for/commit/1fe7eb658560bf3930d...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261522012-03-16T13:43:37+00:002012-03-16T13:43:37+00:00Ian White[Changeset] response_for: Changeset [4c9eeb8b504afbc4de850478e12dcd674b48e85a] by Ian White<div><p>Get specs working again, update README<br>
<a href=
"https://github.com/ianwhite/response_for/commit/4c9eeb8b504afbc4de850478e12dcd674b48e85a">
https://github.com/ianwhite/response_for/commit/4c9eeb8b504afbc4de8...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261512012-03-16T13:43:37+00:002012-03-16T13:43:37+00:00Ian White[Changeset] response_for: Changeset [1e9cae123ee72b2a919e8d12b393b8f2e5a3c41f] by Ian White<div><p>Update dependencies, and keep last know good deps in
Gemfile.lock.development<br>
<a href=
"https://github.com/ianwhite/response_for/commit/1e9cae123ee72b2a919e8d12b393b8f2e5a3c41f">
https://github.com/ianwhite/response_for/commit/1e9cae123ee72b2a919...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261502012-03-16T13:43:36+00:002012-03-16T13:43:36+00:00Ian White[Changeset] response_for: Changeset [76d4aefdfdb507526ca85467497349f37a74636f] by Ian White<div><p>Remove Ardes namespace, use streamlined Rakefile<br>
<a href=
"https://github.com/ianwhite/response_for/commit/76d4aefdfdb507526ca85467497349f37a74636f">
https://github.com/ianwhite/response_for/commit/76d4aefdfdb507526ca...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261492012-03-16T13:43:36+00:002012-03-16T13:43:36+00:00Ian White[Changeset] response_for: Changeset [703303ee88c2056cb2bc1101d9712cfb53797b79] by Ian White<div><p>Remove Gemfile.lock, ignore Gemfile.lock and .rvmrc<br>
<a href=
"https://github.com/ianwhite/response_for/commit/703303ee88c2056cb2bc1101d9712cfb53797b79">
https://github.com/ianwhite/response_for/commit/703303ee88c2056cb2b...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/185261482012-03-16T13:43:36+00:002012-03-16T13:43:36+00:00Ian White[Changeset] response_for: Changeset [f0bce1ff57e2e00287ee72828618c6884fd9433f] by Josh Goebel<div><p>add a gemspec and railtie for rails 3.x, remove rails 2.x code,
bump gem version<br>
<a href=
"https://github.com/ianwhite/response_for/commit/f0bce1ff57e2e00287ee72828618c6884fd9433f">
https://github.com/ianwhite/response_for/commit/f0bce1ff57e2e00287e...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/173284682012-01-05T09:56:45+00:002012-01-05T09:56:45+00:00Ian White[Changeset] response_for: Changeset [81cde3e777bd9df8b0374dd30e08f0422f5a364e] by Ian White<div><p>Rails 3.1 compat fix (thanks to Josh Goebel)<br>
<a href=
"https://github.com/ianwhite/response_for/commit/81cde3e777bd9df8b0374dd30e08f0422f5a364e">
https://github.com/ianwhite/response_for/commit/81cde3e777bd9df8b03...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/30103262009-04-07T09:32:29+01:002009-04-07T09:32:29+01:00Ian White[Changeset] response_for: Changeset [af493ea8e9b93b42bab469b2ca328e72eb031a57] by Ian White<div><p>Added 2.3 stable branch to garlic build <a href="http://github.com/ianwhite/response_for/commit/af493ea8e9b93b42bab469b2ca328e72eb031a57">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236752009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian Whiteresponse_for: response_for swallows template errors [#1]<li>State changed from <em class="change">“open”</em> to <em class="change">“resolved”</em></li>
<div><p>(from [89356bd5730e00a070addfe0789f33a49aff3b78]) Remove monkey
patch of Reponder, as it's no longer necessary [<a href="/projects/10607/tickets/1" title="Ticket #1">#1</a>
state:resolved] <a href="http://github.com/ianwhite/response_for/commit/89356bd5730e00a070addfe0789f33a49aff3b78">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236742009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian Whiteresponse_for: response_for swallows template errors [#1]<div><p>(from [7c899c00eccc6ee810dc615490863a6f0a37b521]) Added spec for
when an error occurs in a template (currently failing) [<a href="/projects/10607/tickets/1" title="Ticket #1">#1</a>] <a href="http://github.com/ianwhite/response_for/commit/7c899c00eccc6ee810dc615490863a6f0a37b521">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236732009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian White[Changeset] response_for: Changeset [d7ce156cc451e0f5f7ae59fd9e38474ce479dfae] by Ian White<div><p>Make pending 2.3 specs run on earlier versions <a href="http://github.com/ianwhite/response_for/commit/d7ce156cc451e0f5f7ae59fd9e38474ce479dfae">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236722009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian White[Changeset] response_for: Changeset [ce9705f6aff79ae9b1af8cfba0a548f1ff6c1f7d] by Ian White<div><p>Version 0.3.1 <a href="http://github.com/ianwhite/response_for/commit/ce9705f6aff79ae9b1af8cfba0a548f1ff6c1f7d">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236712009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian White[Changeset] response_for: Changeset [89356bd5730e00a070addfe0789f33a49aff3b78] by Ian White<div><p>Remove monkey patch of Reponder, as it's no longer necessary
[<a href="/projects/10607/tickets/1" title="Ticket #1">#1</a>
state:resolved] <a href="http://github.com/ianwhite/response_for/commit/89356bd5730e00a070addfe0789f33a49aff3b78">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25236702009-02-19T21:30:25+00:002009-02-19T21:30:25+00:00Ian White[Changeset] response_for: Changeset [7c899c00eccc6ee810dc615490863a6f0a37b521] by Ian White<div><p>Added spec for when an error occurs in a template (currently
failing) [<a href="/projects/10607/tickets/1" title="Ticket #1">#1</a>] <a href="http://github.com/ianwhite/response_for/commit/7c899c00eccc6ee810dc615490863a6f0a37b521">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/25150432009-02-19T09:01:05+00:002009-02-19T09:01:05+00:00Ian Whiteresponse_for: response_for swallows template errors [#1]<li>State changed from <em class="change">“new”</em> to <em class="change">“open”</em></li>
<div><p>Criuti Balan wrote</p>
<p>The error was "Template answers/create.erb not found".</p>
<p>The response_for block was something like this:</p>
<pre><code>
response_for :create do |format|
format.html { render "questions/index" }
end
</code></pre>
<p>It turns out that there was an error in the view questions/index
and<br>
response_for was caching that in like 140 of response_for.rb:
<a href="http://github.com/ianwhite/response_for/blob/bcc544a726990f851051f09bb8799e69d0e34f46/lib/ardes/response_for.rb#L140">
http://github.com/ianwhite/respo...</a></p>
<p>Rescuing the error like below (instead of using the single
line<br>
rescue) seemed to fix it for me:</p>
<pre><code>
begin
respond_to do |responder|
action_responses.each {|response| instance_exec(responder,
&response) }
end
rescue Responder::NoResponsesError
end
</code></pre>
<p>I'm not turning this into a patch because I have no clue what's
going<br>
on there. This ruby syntax subtlety is escaping me :).</p>
<p>Also, at line 159, shouldn't that be raise NoResponsesError
instead of<br>
raise NoResponseError?: <a href="http://github.com/ianwhite/response_for/blob/bcc544a726990f851051f09bb8799e69d0e34f46/lib/ardes/response_for.rb#L159">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/24377502009-02-11T16:58:33+00:002009-02-11T16:58:33+00:00Nicholas Rutherfordresponse_for: response_for swallows template errors [#1]<div><p>Any error occurring in render silently fails to render resulting
in the default action being rendered.</p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23516652009-02-03T13:05:26+00:002009-02-03T13:05:26+00:00Ian White[Changeset] response_for: Changeset [bcc544a726990f851051f09bb8799e69d0e34f46] by Ian White<div><p>Make pending specs only run in Rails2.3, so that they don't fail
(b/c they pass) on older Rails builds in CI <a href="http://github.com/ianwhite/response_for/commit/bcc544a726990f851051f09bb8799e69d0e34f46">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23516642009-02-03T13:05:26+00:002009-02-03T13:05:26+00:00Ian White[Changeset] response_for: Changeset [a6d1876a05f18d2e98dcf4fedfaf88d4bbc36774] by Ian White<div><p>Made pending some specs taht are railing because rspec appears
to not be working correctly with rails 2.3 <a href="http://github.com/ianwhite/response_for/commit/a6d1876a05f18d2e98dcf4fedfaf88d4bbc36774">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23516632009-02-03T13:05:26+00:002009-02-03T13:05:26+00:00Ian White[Changeset] response_for: Changeset [0afaa546e0a3e38c02f34607ef73b837be48d3ed] by Ian White<div><p>Added a default explicit render text b/c rails2.3/rspec
integrate_views changes <a href="http://github.com/ianwhite/response_for/commit/0afaa546e0a3e38c02f34607ef73b837be48d3ed">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23516622009-02-03T13:05:26+00:002009-02-03T13:05:26+00:00Ian White[Changeset] response_for: Changeset [307df05004a29f3ddb30dae9eb53e05c7e461af6] by Ian White<div><p>Add render blank text, because rspec + 2.3 now requires a render
or redirect (i.e. isolation mode is not working like it used to)
<a href="http://github.com/ianwhite/response_for/commit/307df05004a29f3ddb30dae9eb53e05c7e461af6">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23516612009-02-03T13:05:26+00:002009-02-03T13:05:26+00:00Ian White[Changeset] response_for: Changeset [1a0842a79068887928b164c6adfbe5527fb66248] by Ian White<div><p>Simplify spec, less method tracing, more response checking
<a href="http://github.com/ianwhite/response_for/commit/1a0842a79068887928b164c6adfbe5527fb66248">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499302009-02-03T08:58:12+00:002009-02-03T08:58:12+00:00Ian White[Changeset] response_for: Changeset [8e10b85d4ac097631d4a77d158b61a6c4b531fec] by Ian White<div><p>Dropping coverage verification from garlic as it's different
across the different targets (because of BC code) <a href="http://github.com/ianwhite/response_for/commit/8e10b85d4ac097631d4a77d158b61a6c4b531fec">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499292009-02-03T08:58:12+00:002009-02-03T08:58:12+00:00Ian White[Changeset] response_for: Changeset [95d69d15c977d2b13b1353362eb100b4bcf257b6] by Ian White<div><p>Remove debug code <a href="http://github.com/ianwhite/response_for/commit/95d69d15c977d2b13b1353362eb100b4bcf257b6">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499282009-02-03T08:58:12+00:002009-02-03T08:58:12+00:00Ian White[Changeset] response_for: Changeset [918b0ce92de7d0a6a593fa3606e503dc06ff3794] by Ian White<div><p>Correcting typo <a href="http://github.com/ianwhite/response_for/commit/918b0ce92de7d0a6a593fa3606e503dc06ff3794">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499272009-02-03T08:58:12+00:002009-02-03T08:58:12+00:00Ian White[Changeset] response_for: Changeset [805691be509b1413762c7e69d33148aeb33a45df] by Ian White<div><p>Add BC module with tmeplate_exists? stuff <a href="http://github.com/ianwhite/response_for/commit/805691be509b1413762c7e69d33148aeb33a45df">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499262009-02-03T08:58:11+00:002009-02-03T08:58:11+00:00Ian White[Changeset] response_for: Changeset [4370836902c555fb0052a0fa272aed49ab1d852d] by Ian White<div><p>Merge branch 'master' of /Users/ian/dev/ianwhite/response_for/
<a href="http://github.com/ianwhite/response_for/commit/4370836902c555fb0052a0fa272aed49ab1d852d">
http://github.com/ianwhite/respo...</a></p></div>tag:ianwhite.lighthouseapp.com,2008-04-30:Event/23499252009-02-03T08:58:11+00:002009-02-03T08:58:11+00:00Ian White[Changeset] response_for: Changeset [7e50de088cf412093f45fba73b13d0e6c77dcf3b] by Ian White<div><p>Extracted template_exists? stuff into BC module for Rails <
2.3 <a href="http://github.com/ianwhite/response_for/commit/7e50de088cf412093f45fba73b13d0e6c77dcf3b">
http://github.com/ianwhite/respo...</a></p></div>