Permalink
Browse files

tweask

  • Loading branch information...
1 parent 1b8719b commit 38cb7ed4eb31510ea86dbd05f30c9df2b4060564 @smparkes committed Jun 3, 2010
Showing with 12 additions and 2 deletions.
  1. +8 −0 app/views/layouts/hellos.html.erb
  2. +4 −2 config/environment.rb
@@ -6,12 +6,20 @@
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Hellos: <%= controller.action_name %></title>
<%= stylesheet_link_tag 'scaffold' %>
+ <%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' %>
</head>
<body>
<p style="color: green"><%= flash[:notice] %></p>
<%= yield %>
+<div id='foo'>hi!</div>
+
+<script>
+debug("H33low!");
+debug($("#foo").html());
+</script>
+
</body>
</html>
View
@@ -1,7 +1,7 @@
# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
@@ -20,6 +20,8 @@
# config.gem "sqlite3-ruby", :lib => "sqlite3"
# config.gem "aws-s3", :lib => "aws/s3"
+ config.gem "rspec"
+
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
@@ -38,4 +40,4 @@
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
# config.i18n.default_locale = :de
-end
+end

0 comments on commit 38cb7ed

Please sign in to comment.