Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
cpp |
4 lines
of
C++
by
xxx
|
68 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
CString CPayment04_02::GetBodyXml()
{
return SCR_PAYMENT04_02;
} |
|
Sql test |
1 line
of
SQL
|
178 Bytes |
Show |
Edit |
Expand |
1 |
select a1, a2, a3, a4, a5 from yammi, rummi, gammi where yammi.a1 = rumma.a2 and yammi.a2 = rumma.a3 and yammi.a3 = rumma.a4 and yammi.a5 = rumma.a6 |
|
sql |
4 lines
of
SQL
by
toto
|
74 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
create table toto (
id number,
desc varchar(20)
) tablespace users; |
|
s |
2 lines
of
YAML
|
18 Bytes |
Show |
Edit |
Expand |
|
s |
7 lines
of
Ruby
|
308 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<div class="field">
<%= f.label :creator_id %><br />
<%= f.collection_select :creator_id, Editor.all, :id, :name, :include_blank => true %>
</div>
<div class="field">
<%= f.labe... |
|
D |
5 lines
of
Ruby
by
a
|
182 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
class Document < ActiveRecord::Base
belongs_to :creator, :class_name => 'Editor'
belongs_to :revisor, :class_name => 'Editor'
validates_presence_of [:body, :creator_id]
end |
|
Doument |
3 lines
of
Ruby
|
86 Bytes |
Show |
Edit |
Expand |
1
2
3 |
class Document < ActiveRecord::Base
validates_presence_of [:body, :creator_id]
end |
|
Gemfile |
4 lines
of
Ruby
|
70 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
group :development do
gem "nifty-generators"
gem 'hirb'
end
|
|
Gemfile |
4 lines
of
YAML
|
70 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
group :development do
gem "nifty-generators"
gem 'hirb'
end
|
|
xxxx |
1 line
of
C
|
49 Bytes |
Show |
Edit |
Expand |
1 |
com.iq.notes.visualizer.type=professional |
|