read uncommitedread commitedrepeatable readserializable
| book_name | authors | publisher | publisher_zip | publisher_city |
|---|---|---|---|---|
| Eloquent Ruby | Olsen R., Fernandez O. | Pearson | 10001 | New York |
| The Well-Grounded Rubyist | David A. Black, Joseph Leo III | Manning | 11964 | New York |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # == Schema Information | |
| # | |
| # Table name: ingridients | |
| # | |
| # id :integer not null, primary key | |
| # measurement :integer default(0), not null | |
| # measurement_type :integer default(0), not null | |
| # recipe_id :integer | |
| # created_at :datetime not null | |
| # updated_at :datetime not null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function readURL(input) { | |
| if (input.files && input.files[0]) { | |
| var reader = new FileReader(); | |
| reader.onload = function (e) { | |
| $('#blah').attr('src', e.target.result); | |
| } | |
| reader.readAsDataURL(input.files[0]); |