Welcome! This page is using CodeRay 1.1.2.

We currently have 3066 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 220, 10 entries

ruby1 2 lines of Ruby 124 Bytes Show Edit Expand
1
2
  map.resources :pastes  # assumed to be present already
  map.resources :pastes, :path_prefix => '/projects/:project_id'
test div 1 line of HTML 15 Bytes Show Edit Expand
1
<div>kjkj</div>
bar 1 line of Ruby 54 Bytes Show Edit Expand
1
Rho::RhoApplication::get_blob_path(@picture.image_uri)
bar 18 lines of CSS 648 Bytes Show Edit Expand
1
2
3
4
  def camera_callback
    if @params['status'] == 'ok'
      #create image record in the DB                                            
      picture = Picture.new({'image_uri'=>@params['image_u...
bar 1 line of Ruby 57 Bytes Show Edit Expand
1
Camera::take_picture(url_for :action => :camera_callback)
bar 4 lines of YAML 51 Bytes Show Edit Expand
1
2
3
4
name: pics
capabilities:
- camera
version: 1.0
bar 2 lines of YAML 25 Bytes Show Edit Expand
1
2
capabilities:
- camera
bar 2 lines of Ruby 56 Bytes Show Edit Expand
1
2
#add model specifc code here
property :image_uri, :blob
bar 1 line of Ruby 26 Bytes Show Edit Expand
1
property :image_uri, :blob
foo 1 line of HTML 14 Bytes Show Edit Expand
1
<em>Hello</em>

Page 220, 10 entries