search for: blankslate

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

2007 Oct 10
9
Rspec Textmate bundle errors
Hello all, Having a problem with the Rspec textmate bundle and having quizzed the guys in #textmate to no success about the errors, I''ve been suggested to try you guys! When I run the "Run Behaviour Description" command, I get the following errors: /Users/alastair/Library/Application Support/TextMate/Bundles/ RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in
2006 May 19
2
Problems at running Rails at the first time
..., at least the installer said so... :D So I took a tutorial to write a small app, but I fail in the step startig Rails with the command "rails myappdir". There are some warnings and error messages: first: /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/vendor/builder/blankslate.rb:26: warning: instance_methods: parameter will default to ''true'' as of 1.8.1 then 25 times: /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/vendor/builder/blankslate.rb:21: warning: instance_methods: parameter will default to ''true'' as of 1....
2006 Aug 10
28
On the total nondisclosure of the 8/9/06 security vulnerability
Dear Rails team, The handling of the recent vulnerability in Rails has proven somewhat problematic for us. We have recently adopted Rails as our web platform of choice; previously, we used J2EE. We love Rails. We hate J2EE. We don''t want to go back. It took a lot of effort and convincing to get the management teams of our various projects to sign off on the use of Rails. The
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
...xtMate. When I run the "Run examples in selected files/directories" command in TextMate, I get the following dump: ----------------------------------- RubyMate r8136 running Ruby r1.8.5 (/usr/local/bin/ruby) >>> tiger_spec.rb /usr/local/lib/ruby/gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:84:in `blank_slate_method_added'': stack level too deep (SystemStackError) from /usr/local/lib/ruby/gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:84:in `blank_slate_method_added'' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/builder.rb:86:in `method_ad...
2007 Jul 09
1
Changes to vendor/builder?
...s folder? I just submitted my first patch (a doc patch) to a file in this folder, and I just realized it could be an external project. Then I noticed the XML Builder project in RubyForge. I also just noticed that most of the files under the builder folder are marked with nodoc, though XmlMarkup and BlankSlate are currently viewable in the rails documentation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsub...
2008 Feb 02
0
Adding methods to Object in Rails -- WARNING
...tionProxy undef_method :wrap undef_method :unwrap end end end I *think* Rails could solve this problem by hooking into Object.method_added. And when methods are added, the hook could undef them for the proxy class(es). The other choice would be to subclass AssociationProxy from BlankSlate rather than Object -- it appears that that is what BlankSlate is intended to do. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post...
2006 Jan 03
2
Newbie Install Question
...i get this: rails test /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ associations/association_proxy.rb:6: warning: instance_methods: parameter will default to ''true'' as of 1.8.1 /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/vendor/ builder/blankslate.rb:26: warning: instance_methods: parameter will default to ''true'' as of 1.8.1 /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/vendor/ builder/blankslate.rb:21: warning: instance_methods: parameter will default to ''true'' as of 1.8.1 /usr/lib/ru...
2005 Mar 02
3
uprgrade to 0.10: uninitialized constant Class::Object
....rubyonrails.com/read/book/15 . Now, when accessing the action index of the controller rss_feed, I get this error in the terminal when I started the server: #<NameError: uninitialized constant Class::Object> ["/usr/lib/ruby/gems/1.8/gems/actionpack-1.5.0/lib/action_view/vendor/builder/blankslate.rb:49:in `method_added''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:80:in `define_method''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:80:in `send''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/web...
2007 Aug 07
0
Object equality with a DSL
How would you spec a DSL which descends from Jim Weirich''s Blank Slate? I''m asking this question because I have written a DSL, and would like to have the DSL class descend from BlankSlate so that methods like == are not available in the DSL itself (in production), but only while Testing. Does any one have any insight on this? I can provide code samples if anyone would like me to be more specific. Scott Taylor
2006 Oct 25
2
Isn''t it possible to stub / expect on :id ?
Hi all ! Running this: @payout = stub_everything(:id => 141) Payout.stubs(:find).with(@payout.id).returns(@payout) Generates this warning: ./test/functional/payouts_controller_test.rb:22: warning: Object#id will be deprecated; use Object#object_id What am I missing ? :id is a fairly frequent method to override in Rails-based applications. I''m using Mocha from