lib/couchbase-model.rb in couchbase-model-0.0.1 vs lib/couchbase-model.rb in couchbase-model-0.1.0
- old
+ new
@@ -14,5 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
require 'couchbase/model'
+
+# If we are using Rails then we will include the Couchbase railtie.
+if defined?(Rails)
+ require "couchbase/railtie"
+end