similar to: generate model error

Displaying 20 results from an estimated 2000 matches similar to: "generate model error"

2009 Aug 16
3
Rails without a database
Hello! I can''t find a way to have rails not use a database. I just left my database.yml file as it is. When I run my rails application that has no models, my browser says that it couldn''t connect to a database. In environment.rb I uncommented the line config.frameworks -= [ :active_record, :active_resource, :action_mailer ] but then Webrick won''t start. Sorry if this has
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2008 Jul 08
7
script/server error
Not sure why I''m getting this error, cause I believe it worked yesterday before I quit and now it''s giving me this error. The last thing I did was try and get an ActionMailer thing to work. I searched through the archives but nothing seemed applicable to my error. Here''s the error I''m getting: ruby script/server => Booting Mongrel (use
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2009 Mar 31
9
Application without database.yml
Hi, I have created one application. In that application I am not using any database. Whenever I starting rails server it is giving me an error for configuration of database.yml. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2010 Sep 02
5
Re: Exclude ActiveRecord in Rails3
What''s the best way to exclude ActiveRecord in Rails3? In Rails2, one could just do: *config.frameworks -= [ :active_record ]* in the configuration block in environment.rb. Is it possible in Rails3? Thanks. Anuj -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to
2007 Sep 22
4
ActiveResource, find(1) works but no find(:all)
Hi, I''m on edge and Fuser.find(1) works but Fuser.find(:all) shows the error [1]. Fuser is declared here [2]. Do you know what''s happening? Thanks. [1] ActiveResource::ServerError: Failed with 500 Internal Server Error from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:124:in `handle_response'' from
2011 May 02
0
Change from 3.0.6 => Rails 3.0.7 "no such file to load -- action_mailer/railtie"
In my application.rb, I have this: #require "rails/all" require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" require "active_model/railtie" (I didn''t want ActiveRecord) This worked fine up to 3.0.6, but now fails with: /Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error: rake aborted! 550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>: Unauthenticated senders not allowed /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in `block in deliver!''
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
I have a rails app that can send emails to gmail, yahoo accounts. But when it comes to more obscure accounts like email-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or email-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows that the email was sent. Any ideas why this may be happening? I have sent an email directly through the same web server through the command line
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec in Windows, and someone left a comment saying that it doesn''t work in EdgeRails. I so I played around with it a bit and was able to confirm that none RSpec appears broken on EdgeRails. I''ll post the various error messages I received below. I''m not expecting any sort of patch or something for this
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like ActionView cant find my template. same code works as a rake task. here my worker: class StatusMailWorker < BackgrounDRb::Rails repeat 1.minutes # <-- hehe! def do_work(args) [...blah...] NotificationMailer.create_daily_report(users, rep, items) end end end its throwing the following error: No
2006 May 25
1
AppMailer and McCray''s theme generator
Hi, I am using Matt McCray''s theme generator. http://rubyforge.org/projects/theme-generator/ Everything works fine, but rendering an action in a controller using the AppMailer raises this: undefined method `current_theme'' for #<AppMailer:0x39df950> Is there someone who could help me ? Thanks ! Mickael. Traces:
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact form on a website. I am using a table-less model to validate the form contents, then trying to use the Action Mailer chapter of the "Agile Web Development with Rails" book as a pattern to develop the send e-mail portion. I am having trouble getting it working and was hoping someone could point me in the
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
2009 Feb 26
1
Line breaks removed from ActionMailer template
I''ve been googling and searching this list for about an hour now, and maybe I''m just not thinking of the common nomenclature for what to be looking for, but I can''t find jack. Here''s the deal: I''ve got an application coded correctly, sending the mail out, and the template is structured correctly (method_name.erb is the filename) with LF line breaks
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really
2006 Aug 28
4
SMTPSyntaxError (501 <>: missing or malformed local part)
I get this when trying to send out an email. What exactly does this error mean? ________________________________________ Net::SMTPSyntaxError (501 <>: missing or malformed local part ): /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'' /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto''
2005 Dec 15
1
Problem with ActionMailer -- which looks really cool!
Whatever I do to try to connect including trying different ISPs, I get the same errors, here they are: Errno::ECONNREFUSED in Events#send_my_email Connection refused - connect(2) Application Trace | Framework Trace | Full Trace /Applications/Locomotive/Bundles/rails-0.14.1-min.bundle/Contents/ Resources/ports/lib/ruby/1.8/net/protocol.rb:83:in `initialize''
2006 Jan 24
4
SMTPSyntaxError with Action Mailer
I''ve been trying to get my action mailer powered form to work all day. I can get it to work perfectly in development mode. But when I run it in production mode I get an error, the log spits this out Net::SMTPSyntaxError (501 Syntax: HELO hostname ): /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''