Displaying 20 results from an estimated 9000 matches similar to: "accepts_nested_attributes_for :has_many :through => 'bug?'"
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all.
I am having a hell of a problem and it''s driving me nuts. I get the
following error (undefined method `controller_name'' for nil:NilClass): but
only when config.action_controller.perform_caching = true
I googled around some and found this thread
http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which
suggests it may be a conflict with
2010 May 29
0
User Error during memcached integration
Hello, I hope all is well. I am hoping someone can help me with a
problem that I am certain is user error?
The configuration details below work in all my other environments
including integration, development and qa. However, the production
servers give the following error:
unable to find server during initialization.
When I telnet to the memcached box from the server having the problem
and run
2009 Mar 26
1
Error Send Message
Hello,
I''m trying to make my rails app send mail. so it''s can''t send it''s
error.
I''m using the following configuration in environment.rb:
==
Rails::Initializer.run do |config|
...
config.action_mailer.delivery_method = :smtp
end
ActionMailer::Base.smtp_settings = {
:address => "mail.mydomain",
:port => 25,
:domain =>
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
im working with active admin i have collection_select or dropdown box
that populates the packages and crews im just wondering i why this
undefined method `[]'' for nil:NilClass`
i dont know what happened but it run few days ago and tested it once but
now it raises this error are there possible way to solve this?
def create
@package = Package.find(params[:package_crew][:package_id])
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the
log/production.log:
Please help, thnx.
/!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010
Status: 500 Internal Server Error
No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)
2009 May 20
8
ctionView::TemplateError (undefined method `start_form_tag'
I upgrade my version of ruby on rails And my SO
Free BSD was working with Ruby 1.8 + 1.2.6
and now Mandriva Linux with Ruby 1.8 + Rails 2.1.1 it''s not working
ERROR:
Processing LoginController#fazer_login (for 192.168.3.210 at 2009-05-20
09:20:53) [GET]
Session ID:
BAh7BzoNYWRtaW5faWQwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpG
2011 Mar 22
3
Premature end of script headers
after moving my app to production, I am getting the following error in the
apache error log. I am running on linode with apache and passenger.
any help would be great,
thanks,
Jason
[Tue Mar 22 00:18:04 2011] [error] [client 50.9.211.207] Premature end of
script headers:
[ pid=23638 thr=3063581552 file=ext/apache2/Hooks.cpp:821 time=2011-03-22
00:18:04.735 ]: The backend application (process
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
I have a strange problem with setting request.format = :mobile
I can reproduce this problem on a completely fresh Rails 3.0.7 app
with no special gems. This seemed to work well in Rails 2 but for some
reason is hiccuping here, not sure what''s different in Rails 3 that
makes this hiccup. If you look at the stack track, it doesn''t even
pass through my app stack once -- weird --
2011 Jun 01
7
desperate, errors with file upload
hello,
i implementing a file upload using paperclip plugin. i getting the
following error [1] when uploading a file. I''m using the gems rails
v2.3.8 and paperclip v2.1.6. the parameter hash looks like [2], the
model like [3].
Interesting is that i get two different errors, on the localhost with
webrick it says:
Status: 500 Internal Server Error
no marshal_dump is defined for class
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys,
I made a quick app for a family member to be deployed on Dreamhost (low
budget). It''s my first time deploying on DH so I''m not familiar with the
restrictions.
I''m having an issue where I''ve been able to get git on both systems and
used capistrano to deploy the app. However migrations fail. I also tried
exporting my local staging mysql schema and
2012 Mar 30
0
Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
I been working on image upload since long and every time working fine,
Now since i deployed application on server,i am facing strange problem
while image upload.
When i am trying upload image it''s gives error like,
NameError (undefined method path'' for
classActionController::UploadedStringIO''): :10:in synchronize'' passenger
(3.0.9)
2010 Feb 25
0
Ruby on Rails application could not be started
Hi,
Hi,
I''m upt o install retrospectiva on my centOS 5 machine. Therefore, i
installed ruby 1.9.1 (ruby 1.9.1p376 (2009-12-07 revision 26041)
[x86_64-linux]) and following gems:
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
fastthread (1.0.7)
mysql (2.8.1)
passenger (2.2.10)
rack (1.0.1)
rails (2.3.5)
rake
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello,
I''m having an error that occurs in production (on Dreamhost) but does
not occur in development on my local machine. The situation is that
there is a model (Article), and it uses act_as_ferret for search. The
error is as follows (where I say {full server path}, that''s not what
the error says, just my note):
LoadError (Expected {full server path}/article.rb to define
2011 Aug 21
1
dashboard 1.1.1 with filebucket doesn't show contents of the new file
Am using dashboard 1.1.1 with the use_file_bucket_diffs option.
When clicking on the links within a report it will show the old md5
file (on the left) but not the new md5 file (on the right)
like;
content content changed ''{md5}26a3112822d01f2ce6b3f052bf2809de'' to
''{md5}dd97364ab0559344d73231f517951595''
26a3112822d01f2ce6b3f052bf2809de ==> is displayed
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
I am trying to run my first app on the Solaris server, in a production
environment. I get a network unreachable. Why? Does it belongs to
database.yml config?
Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05
14:00:47) [GET]
Errno::ENETUNREACH (Network is unreachable - connect(2)):
/usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize''
2013 Mar 07
2
Puppet Dashboard changed reports view error
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~130000 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent change on the server was the puppetmaster upgrade from
3.0.2 to 3.1.0.
Here is the dashboard error log
2009 Dec 07
1
problem starting rails (hobo) app with passenger
Dear All!
I''ve set up my apache, passenger and configs, the passenger works, but
the app can''t be started. the erros are the following
These are the possible causes:
*
There may be a syntax error in the application''s code. Please
check for such errors and fix them.
*
A required library may not installed. Please install all
libraries that this
2010 Mar 17
4
passenger errors
Has anyone seen this come up, I am using 0.24.8 version of puppet. I
followed the directions on the wiki and installed passenger correctly from
what I can tell.
[Wed Mar 17 09:07:56 2010] [notice] Apache/2.2.14 (Unix) DAV/2
Phusion_Passenger/2.2.5 mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.14
OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal
operations