search for: chrisfarm

Displaying 9 results from an estimated 9 matches for "chrisfarm".

Did you mean: chrisfarms
2007 Feb 07
2
mongrel_in_a_tunnel
.... Obviously this plugin will require stunnel to be installed. What do you think is the best move: 1) nothing, just require that people install stunnel themselves. 2) make the gem attempt to compile stunnel for them. 3) lock myself in a box and make ruby-stunnel bindings/extension. Thanks. chrisfarms -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070207/b1210b31/attachment.html
2007 Feb 20
4
Best way to implement syntax sugar?
Hi! I''m *very* new to rails, I just dove in about a month ago and I''m loving it. One thing I decided I immediately wanted to do, was shorten the number of keystrokes neccessary to URI, HTML, or Jscript encode something. The project I''ve come into already has helpers defined for this. Right now, what I''ve done is: alias h! string_esacpe_html alias u!
2006 May 06
1
TinyMCE and AJAX calls
Hi, First of all I have been dealing with rails for a little bit only, so please excuse me if questions are basic! I''m trying to use TinyMCE in my application... I got it installed and it was working ok. The problem is that when I tried to update the text area with an AJAX call, the editor didn''t load... I had a look around for solutions, but couldn''t implement any
2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by something outside of Merb? For example, DataMapper now throws a DataMapper::ObjectNotFoundError when a record isn''t found in the db. I''d like to catch these exceptions and raise a C:E:NotFound exception instead, but without having to wrap a lot of code in begin/rescue/end blocks. Thanks, Mike Irwin
2008 Jan 10
1
Merb constants
the constants update (http://pastie.caboo.se/137630) is cleaner... but... am I right in thinking that rake tasks are now a bit buggered? Looks like a search/replace was performed, but its now impossible to set an environment for rake tasks? chrisfarms -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080110/47b0308a/attachment.html
2008 Jan 10
0
local variable simulation in partials
...p, :url => ''http://www.jeff.com'' %> I will not be able to access my url variable, because the local variable will not override the #url method. This is contradictory to how most "local" variables work. Can I fix this, or is this behavior for some other reason? chrisfarms. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080110/0537414a/attachment.html
2007 Sep 22
9
skeleton and configs
.... Not all merb apps will even need a database. the spec dir: perfect, one single obvious place to get your mocks/specs in order the scripts dir: this should be removed. Raketasks are to "scripts" as merb is to actionpack ;) ....and "rake -T" is your friend. Regards chrisfarms. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070922/fe58afde/attachment-0001.html
2007 Nov 16
9
Challenge
The original: http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w Send your submissions to me by email or on #merb. I''ll blog it, and pick a winner. The winner does not mean it makes it into Merb, just means I personally like it best. But it might make it into Merb. # Scenario: # You have a simple application that lists all the monkeys at the zoo. # Every monkey has a
2007 Feb 20
0
transaction is started before a validation [c/o Rails-Core]
Hi all.. I was going to submit this as a bug...but thought I should learn more first ... When #save is called on an ActiveRecord a transaction is started to catch any potential problems and try and recover from them. This is cool. But.. as a result of the Transaction module being mixed in quite late in the game, the transactions system is one of the *first* things to get initiated.........is