Displaying 20 results from an estimated 149 matches for "mikel".
Did you mean:
mike
2007 Jul 18
10
Rails - Mock going out of scope?
...I get
the same result if I mock Language.should_receive(:find)...
It SEEMS like the Mock is going out of scope on the recursive call to
parent. The direct spec to the parent to get language name works
fine.
Any ideas? (the code below is slimmed down to the code needed to run the spec.
Regards
Mikel
CODE::
class Node < ActiveRecord::Base
belongs_to :language
acts_as_nested_set :scope => :root_id
def language_name
self.root? ? language.name : parent.language_name
end
end
describe Node, "instance" do
fixtures :nodes
before(:each) do
@language = mock_mod...
2007 Jun 16
1
BackgrounDRB and Sqlite3 / Autotest / Memory_test_fix Issues
...ode, I need to
swap out to MySQL (as I use Sqlite3 for the speed on tests).
>From what I can see the solution would be somehow linking BackgrounDRB
back into the same DB that Autotest is tearing down and setting back
up.
Not sure where to start on this.
Stack trace follows. Thanks!
Regards
Mikel
ActiveRecord::StatementInvalid - (ActiveRecord::StatementInvalid)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/connection_adapters/sqlite_adapter.rb:360:in
`table_structure''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
active_support/core_ext/obj...
2008 Jan 07
7
[Bug 1427] New: scp -q behavior different than documented
...assification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy: mikel at mikelward.com
Created an attachment (id=1434)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1434)
only disable the progress meter, keep error messages
The man page says -q disables the progress meter, but it also disables
all other output.
$ scp -q badhost:/bin/ls .
$ scp badhost:/...
2009 May 27
3
Call in progress tones
...t; stage of the call. just a series of beeps about 800ms apart
until the phone call is actually set up... so then you would get
something like "bip, bip, bip, bip, bip, ring ring, ring ring..." for
ringing or "bip, bip, bip, bip, bip, beep, beep, beep..." for busy.
Any ideas?
Mikel
2009 Dec 11
0
Mikel's Mail OpenSSL::SSL::VERIFY_NONE
Hi Guys,
I need to use Gmail SMTP, and I have to set the
OpenSSL::SSL::VERIFY_NONE for the tls.
It is quite easy and a lot of resource for setting it up in
ActionMailer. However, the ActionMailer setting seems not for Mikel''s
Mail.
Anyone knows how to set the VERIFY_NONE in the gem?
Thanks a lot!
Arthur
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@p...
2020 Feb 29
2
Chrome not allowing mixed content anymore
...ks,
> Albert
>
>
>
>
> On Sat, Feb 29, 2020 at 10:11 AM Yahav Shasha <yahav.shasha at gmail.com>
> wrote:
>
>> This is a real problem that needs to be addressed.
>> Anyone has figured a way to mitigate this?
>>
>> On Sat, Feb 29, 2020 at 4:29 PM Mikel Sanz | 20 Comunicación <
>> mikel at 20comunicacion.com> wrote:
>>
>>> Yes, I also think that 6 years of Beta is too much and now it's too
>>> late...
>>>
>>> El sáb., 29 feb. 2020 14:25, Alexandru Matei <alexandru.ort at gmail.com>
&g...
2008 Nov 05
5
rake features and cucumber feature/name not producing same result
...again with rake features or cucumber features/* it fails, run
individually, it passes.
Obviously some state is carrying over between the features.
Any idea where i would start looking to debug the problem?
Are features transactional? Should I be investigating inter feature state
contamination?
Mikel
--
http://lindsaar.net/
Rails, RSpec and Life blog....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081105/fa58aa5a/attachment.html>
2007 Jul 24
11
Mock or Stub strategy for validates_uniqueness_of
Hi,
I''m a bit stuck with mocking a unit test of a join model with regards to a
validates_uniqueness_of clause.
I have
class Book < AR:B
has_many :clippings
various validates_presence_of etc
end
class Clip < AR:B
has_many :clippings
various validates_presence_of etc
end
class Clipping < AR:B
belongs_to :book
belongs_to :clip
validates_uniqueness_of :clip_id,
2009 Dec 30
3
Mail now in ActionMailer
...is a gem dependency, so
we can keep things up to date easily.
You can read about the Mail gem at:
http://lindsaar.net/2009/9/17/mail-tmail-the-future-of-ruby-email-handling
http://lindsaar.net/2009/10/28/new-mail-gem-released
http://lindsaar.net/2009/9/18/mail-and-bounced-emails
http://github.com/mikel/mail
The commit where Jeremy merged in my changes is at:
http://github.com/rails/rails/commit/b27a3e8da39484d8a02d3b9c1e4dc3cb60ddcce7
http://github.com/rails/rails/commit/71ffa760701d2240ece5f17b75df316611ecb3d0
--
http://lindsaar.net/
--
You received this message because you are subscribed...
2009 Dec 30
3
Mail now in ActionMailer
...is a gem dependency, so
we can keep things up to date easily.
You can read about the Mail gem at:
http://lindsaar.net/2009/9/17/mail-tmail-the-future-of-ruby-email-handling
http://lindsaar.net/2009/10/28/new-mail-gem-released
http://lindsaar.net/2009/9/18/mail-and-bounced-emails
http://github.com/mikel/mail
The commit where Jeremy merged in my changes is at:
http://github.com/rails/rails/commit/b27a3e8da39484d8a02d3b9c1e4dc3cb60ddcce7
http://github.com/rails/rails/commit/71ffa760701d2240ece5f17b75df316611ecb3d0
--
http://lindsaar.net/
--
You received this message because you are subscribed...
2007 Jul 24
2
Mocking Resolv::DNS?
...ng are not about mocks receiving unexpected
messages. The :open message mock gets called. The second one (on
@dns.should_receive(:getresources) also does not complain.
But @mx in the above code ends up as nil, when I would think it should
end up as "MX Record".
Any pointers?
Regards
Mikel
--
http://www.blognow.com.au/q
2010 Aug 17
1
Directory routing to wrong extension if dial tones are pressed too quick.
...I've tested it, and it does indeed seem to be a problem.
When the customer is asked to dial in the first three letters of the
person they are trying to reach, they will be routed to the wrong
extension.
The problem seems to revolve around how quickly the keys are pressed.
So if 645 for Mikell is pressed very quickly, they end up being routed
to Sarah Fish. But if they take their time, say 2 seconds between each
keystroke, everything works ok.
Are they any settings that can be adjusted for this?
Thanks,
Eddie Mikell
2010 May 10
1
More clarification on outbound sip channels.
...will have a block of DID numbers, and I can check those and send to appropriate extensions.
Thanks all for helping to clarify. I have gotten a couple of users who haven't been able to call out, and wasn't sure if I wasn't "rolling over" the sip lines properly.
Best,
Eddie Mikell
From: Jim Dickenson<dickenson at cfmc.com>
Subject: Re: [asterisk-users] Multiple SIP lines.
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Message-ID:<EDA8102C-B255-46E0-940D-1EF217566DDF at cfmc.com>
Content-Type: text/plain...
2010 May 03
4
Bridging old system (ESI IVX E) with new Asterisk server
...e the two systems
together, even temporarily? So if Jake is at extension 120 on the ESI
system, and Regis is at extensions 155 on the asterisk server, Jake can
call Regis and vice versa.
I've pondered on this over the week-end, but don't see an easy way to
handle this.
Thanks!
Eddie Mikell
Senior Systems Engineer
The Rimm-Kaufman Group
2010 May 12
2
Stress Test new system
...CLI? I've called 4 numbers simultaneously with the hard
phones I currently have and am thinking of adding 6 or so soft-phones to
various pc's to make a total of ten outgoing calls at the same time.
Any thing else that can be tested before we go live (total of 60 users)?
Thanks,
Eddie Mikell
2019 Sep 14
4
HTTP authentication
...rd, and know who is connected. But I wish the
URL could be delivered with the username and password, to open it directly
on a player or receiving device... Thanks.
El sáb., 14 sept. 2019 a las 21:33, Marvin Scholz (<epirat07 at gmail.com>)
escribió:
>
>
> On 14 Sep 2019, at 21:09, Mikel Sanz | 20 Comunicación wrote:
>
> > Hi. I'm trying to set up a mountpoint with authentication
> type="htpasswd".
> >
> > It's correctly set up, but I have problems to listen in some players. In
> > Winamp, I've tried this URL structure:
> >...
2009 Oct 31
3
1.9 Compat and merging mail gem into ActionMailer
...t TMail is _not_ 1.9 compatible and is _hard_ to get
compatible. Mail is compatible, however needs some more work to make
it a TMail replacement.
I announced it on Ruby-Talk on the 25th of you are interested, "[ANN]
mail 1.0.0" You can get mail from gemcutter, or from
http://github.com/mikel/mail
But this email is to solicit help and testing of a rewrite of
ActionMailer to use the installed mail gem instead of the bundled
tmail lib/vendor.
I have forked ActionMailer at:
http://github.com/mikel/rails/tree/master/actionmailer/ and I welcome
help / testing / code on getting this done....
2020 Feb 29
0
Chrome not allowing mixed content anymore
@Mikel
You could use Centova's port 80 proxy meanwhile couldn't you?
Also. Centova Cast doesn't have an SSL setting for the servers unless
you're manually overwriting the server config files.. or is it?
On Sat, Feb 29, 2020 at 6:13 PM Mikel Sanz | 20 Comunicación <
mikel at 20comunica...
2007 Nov 04
3
Specing raising error, handling, and then not raising error
...es.and_return(true,
IOError, true, true)
Net::SMTP.stub!(:start).and_yield(@smtp)
@sender = Mailer::Sender.new(valid_args(:emails => @emails))
@sender.sent_emails.should == 3
end
If anyone has any pointers, that would be great.
I am using rSpec trunk - today''s release.
Mikel
2019 Sep 14
2
HTTP authentication
...nerate more than 1 request, and being
limited the connection of each user to a connection, prevents the direct
play and asks for user and password one more time...
El sáb., 14 sept. 2019 a las 21:46, Marvin Scholz (<epirat07 at gmail.com>)
escribió:
>
>
> On 14 Sep 2019, at 21:39, Mikel Sanz | 20 Comunicación wrote:
>
> > I would like to have a private signal, which can only be tuned by whoever
> > has the username and password, and know who is connected. But I wish the
> > URL could be delivered with the username and password, to open it
> directly
> &g...