Skip to content

Commit

Permalink
add link
Browse files Browse the repository at this point in the history
  • Loading branch information
tl1000sv committed Mar 18, 2013
1 parent 7c9ea79 commit 5c7536f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ gem 'sqlite3'

gem 'haml-rails'

group :development do
gem "better_errors"
# To use debugger
# gem 'debugger'
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
Expand All @@ -35,5 +41,4 @@ gem 'jquery-rails', '2.0.2'
# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'debugger'

12 changes: 12 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ GEM
i18n (~> 0.6)
multi_json (~> 1.0)
arel (3.0.2)
better_errors (0.7.2)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
builder (3.0.4)
coderay (1.0.9)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
Expand All @@ -40,6 +44,12 @@ GEM
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
haml (3.1.7)
haml-rails (0.3.5)
actionpack (>= 3.1, < 4.1)
activesupport (>= 3.1, < 4.1)
haml (~> 3.1)
railties (>= 3.1, < 4.1)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
Expand Down Expand Up @@ -104,7 +114,9 @@ PLATFORMS
x86-mingw32

DEPENDENCIES
better_errors
coffee-rails (~> 3.2.2)
haml-rails
jquery-rails (= 2.0.2)
rails (= 3.2.12)
sass-rails (~> 3.2.5)
Expand Down
2 changes: 1 addition & 1 deletion app/views/bookmarks/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
= @bookmark.name
%p
%b Uri:
= @bookmark.uri
= link_to 'Ruby', 'http://' + @bookmark.uri

= link_to 'Edit', edit_bookmark_path(@bookmark)
\|
Expand Down
23 changes: 23 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20130214012829) do

create_table "bookmarks", :force => true do |t|
t.string "name"
t.string "uri"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end

end

0 comments on commit 5c7536f

Please sign in to comment.