On Tuesday, September 18, 2012 6:24:09 PM UTC-4, Gary Weaver wrote: > > On Tuesday, September 18, 2012 4:48:11 PM UTC-4, Gary Weaver wrote: >> >> How about something like (sorry for my bad function names- having trouble >> coming up with anything good): >> >> > Just implemented so you could see what I mean, but didn't test, so no idea > if it works: > https://github.com/garysweaver/convenient-actionpack >
Ok, not good. Was confused about stuff that respond_with says it is already doing, at least in master/Rails 4. Looking at mime_responds.rb, etc. in metal now. Sorry about that. I think something like the wrap or having a standard method to call to respond with a StandardError would be good and not having to specify a nil location. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/xlaMp3nrZqYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
