search for: rails_root

Displaying 20 results from an estimated 1150 matches for "rails_root".

2007 May 30
2
ActionView::TemplateError
...</td> 4: <td> 5: 6: <%= link_to "View Images (#{record.images.size.to_s})", {:controller => ''design'', :action => ''workspace'', :design_id => record} %> 7: 8: </td> 9: <td class="buttons"> #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/ dependencies.rb:249:in `load_missing_constant'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/ dependencies.rb:452:in `const_missing'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/ dependencies.rb:4...
2008 May 13
0
Problem geting web interface to work
.../projects/myproject/builder.lock) on line #1 of app/views/projects/_project.rhtml: 1: <div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>"> 2: <table class="project_pane"> 3: <tr> 4: #{RAILS_ROOT}/lib/file_lock.rb:36:in `flock'' #{RAILS_ROOT}/lib/file_lock.rb:36:in `locked?'' #{RAILS_ROOT}/lib/project_blocker.rb:7:in `blocked?'' #{RAILS_ROOT}/lib/builder_plugins/builder_status.rb:84:in `builder_down?'' #{RAILS_ROOT}/lib/builder_plugins/builder...
2006 May 04
2
validates* give me problems
...n I introduce in: ~app/models/categoria.rb a line with: validates_uniqueness_of :categoria, :message => "ya existe" I get in my browser when creating a new categoria item: NoMethodError in Categorias#create undefined method `categoria'' for #<Categoria:0x40a606cc> RAILS_ROOT: /var/www/audio/public/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1786:in `method_missing'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:300:in `validates_each'' #{RAI...
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine): -------------------------------------- Full executation backtrace: -------------------------------------- [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in `execute_callstack_for_multiparameter_attributes'' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in `assign_multiparameter_attributes'' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record...
2005 Dec 21
10
can an active records maps to N tables?
Hi, Is it possbile that one active record maps to N tables, actually the relation is 1 to 1, I wonder it is possible. also can a ruby object map to N tables, instead of an active records? Thanks you very much:) Saiho __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Mar 16
1
login_engine error
...;'t get it to work correctly. I was wondering if someone could help out with the following error: undefined method `password_confirmation='' for #<User:0x2aaaad1421a0> Any Help? Thanks, Adam <<<<<<REST OF ERROR MESSAGE>>>>>>>>> RAILS_ROOT: /home/adam/hairist/public/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1644:in `method_missing'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1428:in `attributes='' #{RAILS_ROOT...
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it says: A TypeError occurred in [controller]#[action]: can''t convert Magick::GravityType into Integer [RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in `crop'' Any advice? Here''s the backtrace: [RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in `crop'' [RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in `transform_image''...
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
...wing app/views/articles/meca.rhtml where line #2 raised: superclass mismatch for class StackingParser Extracted source (around line #2): 1: <% 2: require ''rubyful_soup'' 3: require ''open-uri'' 4: 5: url = "http://www.google.com/search?q=ruby" RAILS_ROOT: /app/sites/exe/ifeel/public/../config/.. Application Trace | Framework Trace | Full Trace /usr/lib64/ruby/gems/1.8/gems/htmltools-1.09/lib/html/stparser.rb:11 /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/d...
2005 Dec 16
0
ArgumentError on create
...:year, :in=>1911..2006, :message => "Year must be between 1911-2006" end I am getting this error when I try to create a new record (actually, when I comment out the validation, I still get same errors): ====== ArgumentError in Quotes#create wrong number of arguments (2 for 0) RAILS_ROOT: /var/www/learningq/public/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1628:in `quote'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1628:in `attributes_with_quotes'' #{RAILS_...
2007 Jun 28
1
DRb server crashing
...rb:1169:in `new'' /usr/local/lib/ruby/1.8/drb/drb.rb:1169:in `open'' /usr/local/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'' /usr/local/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'' /usr/local/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'' [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in `<<'' [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_update'' [RAILS_ROOT]/app/models/topic.rb:61:in `update_cached_fields'' [RAILS_ROOT]/app/models/topic.rb:45:in `update_...
2010 Mar 20
0
Problem with videos on heroku
...lumn("video", "video_file")}, :popup => [''new_window'', ''height=200,width=200''] %> 22: <% end %> 23: <%= file_column_field ''video'', ''video_file'' %> 24: &nbsp;&nbsp;&nbsp; #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb: 1792:in `method_missing'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb: 75:in `send'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb: 75:in `url_for_file_column'' #{RA...
2006 Sep 18
2
Datebocks and EdgeRails
...ybody try with it? It seems that the problem has something with loading the layout, and complaints about the number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `require_or_load'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `prepare_application'' #{RAILS_ROOT}/vendor/rails/railties/lib/disp...
2006 Oct 16
3
Strange ActiveRecord error popping up
...#39;BAh7BzoIYmFnbzoIQmFnCDoLQGl0ZW1zWwA6DUBpbnZvaWNlMDoMQGNsaWVu\ndDAiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh\nc2h7AAY6CkB1c2VkewA=\n'', `session_id` = ''3b490c37bd1d8b9553807982b19e23bd'', `updated_at` = ''2006-10-16 17:41:00'' WHERE id = 1 RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:122:in `log'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:224:in `exe...
2006 Jan 20
1
stack level too deep from has_many / belongs_to relationship
...d::Base 2. set_table_name "exercises_routines" 3. set_primary_key ''join_id'' 4. 5. belongs_to :routine 6. belongs_to :exercise 7. 8. acts_as_list :scope => :routine_id 9. end From this I''m getting ''stack level too deep'' errors: #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations.rb:877:in `create_has_many_reflection'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations.rb:346:in `has_many'' #{RAILS_ROOT}/app/models/routine.rb:2 #{RAILS_ROOT}/app/models/routine_exercise.rb:5 #{RAI...
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following: r.highlight(@condition, :field => ''body'') ''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved field. I am running latest ferret and a_a_f trunk. Am I doing something wrong? -- Posted via http://www.ruby-forum.com/.
2006 Jul 24
7
[PATCH] Support for DB Clusters/Replication in ActiveRecord (RFC)
Skipped content of type multipart/alternative-------------- next part -------------- Index: connection_adapters/abstract/connection_specification.rb =================================================================== --- connection_adapters/abstract/connection_specification.rb (revision 4617) +++ connection_adapters/abstract/connection_specification.rb (working copy) @@ -1,10 +1,21 @@ require
2007 Jun 06
2
struggling with stability
Greetings all, Unit tests are passing, but I''m having mucho problems getting brb to run without exceptions for more than 6 hours. I''m seeing a mixture of the following 2 exceptions: 20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError) 20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ slave-1.2.1/lib/slave.rb:435:in `initialize''
2007 Oct 24
4
RAILS_ROOT
...n the file system. To retrieve them I''m using: image = "/home/rajeev/Desktop/logo/logo/public#{icon.public_filename}" which is the same as: "/home/rajeev/Desktop/logo/logo/public/icons/0000/0005/green_nature_on_white.jpg" Have can i do this in a shorter way by using RAILS_ROOT? I have tried this but no success. Would appreciate any help. Thanks Raj -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to t...
2007 Jul 24
1
Why can''t find index file sometimes?
...rret/index.rb:8:in `synchrolock'' /usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'' /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in `<<'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/local_index.rb:157:in `<<'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in `ferret_update'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in `send'' #{RAILS_ROOT}/vendor/rails/ac...
2005 Dec 02
8
UserEngine: stack level too deep
...: rake bootstrap with the same result: rake aborted! stack level too deep Same when I browse to http://localhost:3000/users/list "Action Controller: Exception caught" stack level too deep I''m using EdgeRails on WinXP SP2 PgSQL 8.1 Cheers, Ean PS: Here''s the trace: #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:682:in `|'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:682:in `write_inheritable_set'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:240:in `validate_on_create'...