Changeset 418
- Timestamp:
- 08/17/07 14:02:44 (1 year ago)
- Files:
-
- trunk/README (modified) (1 diff)
- trunk/examples/README_EXAMPLES (modified) (1 diff)
- trunk/specs/merb/merb_core_ext_spec.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/README
r411 r418 11 11 * archive-tar-minitar 12 12 * rspec 13 * activerecord (if you want to store sessions in a database) 13 14 14 15 Then you can build the merb gem from svn trunk like so: 15 16 16 $ sudo gem install mongrel erubis json mime-types archive-tar-minitar rspec --include-dependencies17 $ sudo gem install mongrel erubis json mime-types archive-tar-minitar rspec activerecord --include-dependencies 17 18 $ svn co http://svn.devjavu.com/merb/trunk merb 18 19 $ cd merb trunk/examples/README_EXAMPLES
r152 r418 1 1 I have removed the useless example app from here for now. 2 P Lease see mrblog for a better sample app:2 Please see mrblog for a better sample app: 3 3 4 4 svn co http://svn.devjavu.com/merb/mrblog/trunk trunk/specs/merb/merb_core_ext_spec.rb
r407 r418 373 373 374 374 end 375 376 class ClassWithAttrInitialize 377 attr_initialize :dog, :muppet 378 attr_accessor :dog, :muppet 379 end 380 381 describe ClassWithAttrInitialize do 382 383 it "should initialize with values" do 384 c = ClassWithAttrInitialize.new("louie", "bert") 385 c.dog.should == "louie" 386 c.muppet.should == "bert" 387 end 388 389 end
