search for: of_cal

Displaying 3 results from an estimated 3 matches for "of_cal".

Did you mean: ofical
2006 Feb 07
1
Error undefined method `of_caller'' for Binding:Class
...he following helper method: def collapsible_fragment(collapsed, &block) html = ''<div>'' html << capture(&block) if( block_given? && !collapsed) html << ''</div>'' Binding.of_caller do |binding| concat(html, binding) end end and within the template this helper is used as follows &lt;a href="?collapsed=<%=params[:collapsed]==''1'' ? ''0'' : ''1''%&gt;"&gt;collapsed&...
2007 Apr 11
1
Does Ruby 1.8.6 fix the Breakpointer problem?
Hello, Does anyone here know if Ruby 1.8.6 fixes the "BreakPointer" problem in Rails? The reason I ask is that I have been working with Curt Hibb''s InstantRails in Window (at last I have found a usable Rails system on Windows). Currently, I am on InstantRails 1.6, but Curt has made available InstantRails 1.7 which has the following components: Instant Rails 1.7 contains the
2007 Aug 04
1
ActiveRecord gotcha with references?
I have this situation: class Employee < ActiveRecord::Base belongs_to :designation end class Designation < ActiveRecord::Base end I do the following at the irb console: Step 1: Find an employee >> emp = Employee.find 3 => #<Employee:0x35a7d34 @attributes={"designation_id"=>"3", "id"=>"3",