diff --git a/README.md b/README.md index 201a592..2c7e398 100644 --- a/README.md +++ b/README.md @@ -100,11 +100,11 @@ end Altenative you can try the generator. (requires setting up the connection) - rails generate active_force_model Medication__c + rails generate active_force:model Medication__c The model generator also supports an optional namespace which will add a namespace to the generated model - rails generate active_force_model Medication__c SomeNamespace + rails generate active_force:model Medication__c SomeNamespace ### Associations diff --git a/lib/active_force/version.rb b/lib/active_force/version.rb index a439b08..c95ec49 100644 --- a/lib/active_force/version.rb +++ b/lib/active_force/version.rb @@ -1,3 +1,3 @@ module ActiveForce - VERSION = "0.9.0" + VERSION = "0.9.1" end diff --git a/lib/generators/active_force/model/model_generator.rb b/lib/generators/active_force/model/model_generator.rb index d642434..81eef24 100644 --- a/lib/generators/active_force/model/model_generator.rb +++ b/lib/generators/active_force/model/model_generator.rb @@ -42,7 +42,7 @@ def sfdc_columns def table_exists? !! sfdc_columns - rescue Faraday::Error::ResourceNotFound + rescue Faraday::ResourceNotFound puts "The specified table name is not found. Be sure to append __c if it's custom" end