-
The -j option of the application generator accepts an arbitrary string. If passed "foo", the gem "foo-rails" is added to the Gemfile, and the application JavaScript manifest requires "foo" and "foo_ujs". As of this writing "prototype-rails" and "jquery-rails" exist and provide those files via the asset pipeline. Default is "jquery". [fxn]
-
jQuery is no longer vendored, it is provided from now on by the jquery-rails gem. [fxn]
-
Prototype and Scriptaculous are no longer vendored, they are provided from now on by the prototype-rails gem. [fxn]
-
The scaffold controller will now produce SCSS file if Sass is available [Prem Sichanugrist]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goyox86@Goyox86s-MacBook ~/Code/CareShare (feature/ccr4r) $ be rake spec:models | |
(in /Users/goyox86/Code/CareShare) | |
.................................................................................................................................................................F................................... | |
1) | |
NoMethodError in 'Person full address should return org address if im not a patient' | |
undefined method `memberships' for nil:NilClass | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/whiny_nil.rb:52:in `method_missing' | |
/Users/goyox86/Code/CareShare/app/models/person.rb:173:in `full_address' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# it "should generate a zip file" do | |
# user = Factory(:user) | |
# user.person | |
# file = Tempfile.new('foo') | |
# Zip::ZipFile.expects(:open).returns(['1']) | |
# 2.times { File.expects(:open).returns(file) } | |
# File.expects(:delete).returns('1') | |
# lambda { | |
# user.person.get_scans(nil) | |
# Delayed::Worker.new.work_off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goyox86@Goyox86s-MacBook ~/Code/CareShare (feature/ccr4r) $ be rake spec:models | |
(in /Users/goyox86/Code/CareShare) | |
...................................................................................................................................F................................................................. | |
1) | |
'Person full address should return org address if im not a patient' FAILED | |
expected: "1111 11th St<br/> Jupiter, FL, 44568", | |
got: "No address recorded" (using ==) | |
./spec/models/person_spec.rb:197: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "ccr":"<?xml version="1.0" encoding="UTF-8"?><ContinuityOfCareRecord xmlns="urn:astm-org:CCR">...</ContinuityOfCareRecord>", "id":1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Procedures> | |
<Procedure> | |
<DateTime> | |
<Type><Text>Start date</Text></Type> | |
<ExactDateTime>2007-04-04T07:00:00Z</ExactDateTime> | |
</DateTime> | |
<Description> | |
<Text>Appendectomy</Text> | |
<Code> | |
<Value>144950</Value> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Procedures> | |
<Procedure> | |
<DateTime> | |
<Type><Text>Start date</Text></Type> | |
<ExactDateTime>2007-04-04T07:00:00Z</ExactDateTime> | |
</DateTime> | |
<Description> | |
<Text>Appendectomy</Text> | |
</Description> | |
<Source> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
be rake spec:models | |
(in /Users/goyox86/Code/CareShare) | |
.........................................................................FFF...FFF...............................................F....................................................................... | |
1) | |
ArgumentError in 'Referral should create a referral and set state to 'sent' if both receiving and sending orgs have a sharegroup' | |
wrong number of arguments (0 for 1) | |
/Users/goyox86/Code/CareShare/app/models/referral.rb:136:in `deliver' | |
/Users/goyox86/Code/CareShare/app/models/referral.rb:136:in `hook_up_caregroup' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state.rb:47:in `send' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== AddFakePatient: migrating ================================================= | |
rake aborted! | |
An error has occurred, all later migrations canceled: | |
undefined method `family_id' for #<Person:0x10898f388> | |
(See full trace by running task with --trace) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goyox86@Goyox86s-MacBook ~/Code/CareShare (feature/ccr4r) $ gem list --local | |
*** LOCAL GEMS *** | |
aasm (2.2.0) | |
actionmailer (2.3.10) | |
actionpack (2.3.10) | |
active_merchant (1.5.2) | |
activerecord (2.3.10) | |
activeresource (2.3.10) |