Skip to content

Instantly share code, notes, and snippets.

(! 9030)-> rake db:migrate
(in /Users/npaessel/lab/ruby/rigse)
RAILS running in test environment or executing rake task -- skipping Admin::Project.create_or_update_default_project_from_settings_yml
Couldn't start observers Mysql::Error: Table 'rigse_development.embeddable_multiple_choice_choices' doesn't exist: SHOW FIELDS FROM `embeddable_multiple_choice_choices`
This might be because you have not setup the appropriate database tables yet...
see config/initializers/observers.rb for more information.
rake aborted!
Expected /Users/npaessel/lab/ruby/rigse/app/models/embeddable/xhtml.rb to define Embeddable::Xhtml
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:319:in `execute'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:465:in `columns'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/base.rb:1271:in `columns'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/base.rb:3007:in `attributes_from_column_definition_without_lock'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb:66:in `attributes_from_column_definition'
/Users/npaessel/lab/ruby/rigse/vendor/rails/activerecord/lib/active_record/base.rb:2434:in `initialize'
/Users/npaessel/lab/ruby/rigse/app/models/embeddable/multiple_choice.rb:41:in `new'
/Users/npaessel/lab/ruby/rigse/app/models/embeddable/multiple_choice.r
MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Thu Feb 11 17:05:20 EST 2010]
load: class org/concord/biologica/applets/BreedOffspringApplet not found.
java.lang.ClassNotFoundException: org.concord.biologica.applets.BreedOffspringApplet
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
# <dl id="tools">
# <dt>webrat</dt>
# <dd>bryan</dd>
# <dt>cucumber</dt>
# <dd>aslak</dd>
# </dl>
#
# t = tableish('dl#tools dt', lambda{|dt| [dt, dt.next.next]})
package org.concord;
import java.awt.FlowLayout;
import org.nlogo.lite.InterfaceComponent;
public class TestNetLoogo41 {
public static void main(String[] argv) {
try
{
final javax.swing.JFrame frame = new javax.swing.JFrame();
error (ArrayIndexOutOfBoundsException)
while observer running ASK in procedure RUNRUNRUN
(halted running of run)
NetLogo is unable to supply you with more details about this error. Please report the problem to bugs@ccl.northwestern.edu and paste the contents of this window into your E-mail.
java.lang.ArrayIndexOutOfBoundsException: 624
at org.nlogo.util.MersenneTwisterFast.nextLong(MersenneTwisterFast.java:873)
at org.nlogo.prim._asm_runrunrun_left_3.perform(:2)
at org.nlogo.nvm.Context.runExclusive(Context.java:132)
Object.prototype.clone = function(isDeep) {
var key;
var return_results = {};
if (isDeep && (typeof this == "object")) {
for (key in this) {
return_results[key] = this[key].clone();
}
}
else {
return_results = this;
(haml file)
-foo="bar"
-haml_tag(foo) do
%div
(results are)
<bar>
activities#show
A ActionView::TemplateError occurred in activities#show:
undefined method `image_url' for nil:NilClass
On line #1 of shared/_show_image_url.rhtml
1: <% image_url = ar_model.image_url %>
2: <% if ImageChecker.valid?(image_url) %>
3: <%= image_tag image_url %>
4: <% elsif defined? alternate_url %>