similar to: Newbie: Help with wiki IMAP example

Displaying 20 results from an estimated 20000 matches similar to: "Newbie: Help with wiki IMAP example"

2010 Mar 22
0
rspec bug, on Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT active_record_1
hello can anybody help me with this bug, (this sometimes occur sometimes passes) 1) ActiveRecord::StatementInvalid in ''MailReader on Simple Tasks should not accept duplicate email'' Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT active_record_1 /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in
2006 Dec 28
3
NET::IMAP / Runner problems
Hello, I have a runner script that is meant to check a mailbox using imap and insert them into the application. The method I am using to do this was taken directly off the rails wiki: require ''net/imap'' # above the class, not within it def self.check_mail imap = Net::IMAP.new(''localhost'') imap.authenticate(''LOGIN'',
2006 Feb 27
2
Read IMAP
Hello, I have a question about IMAP : I want read a IMAP mailbox in my application. I have found 2 pages about this : http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203 http://www.codefetch.com/search?qy=login&lang=ruby But, Rails don''t want use ''net/imap''. So I can''t =( Thank you for your help pmt -- Posted via
2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting the error. I tried with ''gem clean'' and ''gem update''. The latter gives the following error (the same error is replicable when I try any ruby applications): # gem update --debug Exception `Errno::ENOENT'' at /usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2010 Jun 10
1
RSpec 2: uninitialized constant - mocking belongs_to AR relation
gems/ruby-1.9.2-head/bundler/gems/rspec- core-2398fcadf5beb256bed9c548c59445d3b4c8a047-master/lib/rspec/core/ backward_compatibility.rb:26:in `const_missing'': uninitialized constant Message::User (NameError) from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-head/bundler/gems/ rspec-expectations-996c752171a0a0e16347e934dadc25767e31186c-master/lib/
2006 May 15
6
Getting Net::IMAP to work with PLAIN auth type...
Hi there, I''m new to rails and I''ve been successful tinkering around but am miffed by the process of trying to connect to my mail server to receive email for ActiveMailer parsing. I''m hosted on TextDrive and have read the following article on the RubyonRails wiki: http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer. I want to
2012 Feb 28
1
Master user
Hi, I'd like to have a master user that can read the other users mailboxes. I have only one user who read and write the mail (i.e. I use the static userdb) and I use namespace for public and shared mailboxes. I can authenticate to the server but I am not able to list the mailboxes: > emiliano at dovecot:~$ telnet localhost imap > Trying 127.0.0.1... > Connected to localhost. >
2009 Mar 22
1
Upgrading 2.2 to 2.3: console broken, "uninitialized constant Module::ActiveSupport"
Upgrading a Rails app from 2.2 to 2.3.2 (via 2.3.0). Got things working in the browser, but script/console seems messed up in both 2.3.0 and 2.3.2: $ script/console Loading development environment (Rails 2.3.2) /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:56:in `env'':NameError: uninitialized constant Module::ActiveSupport
2012 Jun 12
1
doveadm doesn't subscribe to public folders
Hi, I'd like to subscribe folder with doveadm: doveadm mailbox subscribe -u rago public.Conferences This command doesn't work, while it works with an ordinary folder. However it's possible to subscribe to the folder with an imap connection: 1 login rago "mypasswd" 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORTSORT=DISPLAY
2006 Jan 03
2
Newbie Install Question
Hi, I''ve been trying to get rails going on one of our dedicated servers, with no luck. I have ruby installed, gems, etc... When i goto to create my first rails app i get this: rails test /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ associations/association_proxy.rb:6: warning: instance_methods: parameter will default to ''true'' as of 1.8.1
2006 Jun 25
1
text_field_with_auto_complete nonsense (newbie question)
Hi everyone, I have been introduced to ruby on rails a couple of days ago and it really brings out the fun in programming for the Web. I''m trying to implement a text_field_with_auto_complete as described in script.aculo.us , as follows: controller: class SearchController < ApplicationController auto_complete_for :recipe, :name end search.rhtml: <html> <head><%=
2007 Oct 04
0
Module + Constant Issue
I ran into the following problem in my application when I went from my dev environment to my staging environment. Modules and classes that were previously autoloaded just fine in dev ended up with a strange error in staging: NameError: uninitialized constant Rails::Initializer::... Weird. Well, I managed to reproduce it, and here is the procedure. I''m wondering if the approach
2006 May 02
3
''NameError: uninitialized constant <MyEntity>'' in console
When I create a new model entity, and try to access it from the Rails console I get the error: >> b = Bar.new(:name => ''Some Bar'') NameError: uninitialized constant Bar from (irb):1 from :0 (My model class is called Bar, and is in file app/models/bar.rb) So, I try to load the model class file, and I run into a more frigtening error: >> load
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group I''m trying to hook up my simple app to Active Directory. I''m following instructions posted on the website. Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP. The two instructions seem to differ a little on how to configure (environment.rb). Both instructions break my app with an
2014 Apr 26
2
Dovecot cannot connect to PostgreSQL server
I am currently facing the following log output: Apr 26 16:40:28 h2290750 dovecot: auth: Error: pgsql(localhost): Connect failed to database mail: could not connect to server: Permission denied Apr 26 16:40:28 h2290750 dovecot: auth: Error: #011Is the server running on host "localhost" (::1) and accepting Apr 26 16:40:28 h2290750 dovecot: auth: Error: #011TCP/IP connections on port 5432?
2009 Oct 13
2
Single Table Inheritance (STI) Broken: NameError
Some how I''m getting NameError: uninitialized constant when accessing a child models that inherits form the parent model. However, if I access the parent model first, then the child model is resolved. What am I doing wrong? My steps are below... Thanks, Francis. > ./script/generate model Blah type:string class CreateBlahs < ActiveRecord::Migration def self.up create_table
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there rails: 2.3.8 machine os: Ubuntu 10.04 Lucid I''m having some problems with my rails installation in one of my new development machines. I have installed all the gems in my config/environment.rb file. When I now run either script/console or script/server, I have the error of " `rescue in load_missing_constant'': uninitialized constant Paperclip::Glue
2007 Jul 26
1
autotest loosing RAILS_ROOT Constant?
I am having a weird error that I have not had before... I''m bouncing it off the list to see if anyone else has had it, or to give me some pointers about how to find it. Basically, AUTOTEST will run (RSpec mode), fine, then suddenly, will complain that RAILS_ROOT is undefined. Then I stop and restart it, with no code change... no problem. It happens on different specs where I use
2008 Dec 11
2
uninitialized constant ActionVie
Hello I am trying to transform my web app into a 2.2 ready app, in my config/environment.rb I wrote Rails::Initializer.run do |config| ..... # disabling the surrounding div if validation error ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| if html_tag.include?("class=") html_tag.sub(%r{(class=["''])}, ''\1invalid '')
2006 Jun 19
2
const_missing error of has_many through association
Hi, I am new to ruby on rails. I am building an association join model and encountered the following error. Does anyone know what am I missing? > NameError in StartController#home > >d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Membership I have the following tables relationships Users