File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 multi_json (~> 1.0 )
4747 arel (2.2.1 )
4848 bcrypt-ruby (3.0.1 )
49- bson (1.4 .1 )
50- bson_ext (1.4 .1 )
49+ bson (1.3 .1 )
50+ bson_ext (1.3 .1 )
5151 builder (3.0.0 )
5252 cancan (1.6.7 )
5353 capybara (1.1.1 )
6767 coffee-script-source
6868 execjs
6969 coffee-script-source (1.1.2 )
70- cucumber (1.1.0 )
70+ cucumber (1.1.1 )
7171 builder (>= 2.1.2 )
7272 diff-lcs (>= 1.1.2 )
73- gherkin (~> 2.5 .0 )
73+ gherkin (~> 2.6 .0 )
7474 json (>= 1.4.6 )
7575 term-ansicolor (>= 1.0.6 )
7676 cucumber-rails (1.1.1 )
9090 faker (1.0.1 )
9191 i18n (~> 0.4 )
9292 ffi (1.0.9 )
93- gherkin (2.5.4 )
93+ gherkin (2.6.1 )
9494 json (>= 1.4.6 )
9595 haml (3.1.3 )
9696 haml-rails (0.3.4 )
@@ -117,16 +117,16 @@ GEM
117117 mime-types (~> 1.16 )
118118 treetop (~> 1.4.8 )
119119 metaclass (0.0.1 )
120- method_source (0.6.6 )
121- ruby_parser (~> 2.0.5 )
122- mime-types (1.16 )
120+ method_source (0.6.7 )
121+ ruby_parser (>= 2.3.1 )
122+ mime-types (1.17.2 )
123123 mm-devise (1.3 )
124124 devise (>= 1.2 )
125125 mongo_mapper (>= 0.9.0 )
126126 mocha (0.10.0 )
127127 metaclass (~> 0.0.1 )
128- mongo (1.4 .1 )
129- bson (= 1.4 .1 )
128+ mongo (1.3 .1 )
129+ bson (> = 1.3 .1 )
130130 mongo_mapper (0.9.2 )
131131 activemodel (~> 3.0 )
132132 activesupport (~> 3.0 )
@@ -138,10 +138,10 @@ GEM
138138 plucky (0.3.8 )
139139 mongo (~> 1.3 )
140140 polyglot (0.3.2 )
141- pry (0.9.6.2 )
141+ pry (0.9.7.3 )
142142 coderay (~> 0.9.8 )
143- method_source (~> 0.6.5 )
144- ruby_parser (~> 2.0.5 )
143+ method_source (~> 0.6.7 )
144+ ruby_parser (>= 2.3.1 )
145145 slop (~> 2.1.0 )
146146 rack (1.3.5 )
147147 rack-cache (1.0.3 )
168168 rdoc (~> 3.4 )
169169 thor (~> 0.14.6 )
170170 raindrops (0.8.0 )
171- rake (0.9.2 )
171+ rake (0.9.2.2 )
172172 rdiscount (1.6.8 )
173173 rdoc (3.11 )
174174 json (~> 1.4 )
186186 activesupport (~> 3.0 )
187187 railties (~> 3.0 )
188188 rspec (~> 2.7.0 )
189- ruby_parser (2.0.6 )
189+ ruby_parser (2.3.1 )
190190 sexp_processor (~> 3.0 )
191191 rubyzip (0.9.4 )
192192 sass (3.1.10 )
196196 sass (>= 3.1.4 )
197197 sprockets (~> 2.0.0 )
198198 tilt (~> 1.3.2 )
199- selenium-webdriver (2.9.1 )
199+ selenium-webdriver (2.10.0 )
200200 childprocess (>= 0.2.1 )
201201 ffi (= 1.0.9 )
202202 json_pure
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Program
1111 before_create :make_slug
1212
1313 def make_slug
14- unless slug
14+ if slug . blank?
1515 all_slugs = Program . where ( :author_username => author_username ) . map ( &:slug )
1616 self . slug = Sluggifier . generate ( title )
1717 end
You can’t perform that action at this time.
0 commit comments