Changeset 1159
- Timestamp:
- 01/03/08 13:13:08 (9 months ago)
- Files:
-
- plugins/merb_sequel/lib/merb/orms/sequel/connection.rb (modified) (1 diff)
- trunk/lib/merb/controller.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/merb_sequel/lib/merb/orms/sequel/connection.rb
r1140 r1159 30 30 31 31 if File.exists?(config_file) 32 puts "#{Time.now.httpdate}: Connecting to the '#{config[: adapter]}' database '#{config[:hosts]}' ..."32 puts "#{Time.now.httpdate}: Connecting to the '#{config[:database]}' database on '#{config[:host]}' using '#{config[:adapter]}' ..." 33 33 connection = ::Sequel.connect(config_options(config)) 34 34 MERB_LOGGER.error("Connection Error: #{e}") unless connection 35 connection 35 36 else 36 37 copy_sample_config trunk/lib/merb/controller.rb
r1079 r1159 106 106 107 107 def dispatch(action=:index) 108 start = Time.now 108 start = Time.now 109 109 if self.class.callable_actions[action.to_s] 110 110 params[:action] ||= action
