Displaying 20 results from an estimated 40000 matches similar to: "ActiveRecord::Migration is a mix-in?"
2008 Aug 01
0
Help with Access Control
Hi,
I am following the excellent tutorial http://www.railsforum.com/viewtopic.php?id=14216
(post 5) on how to implement an access control feature i.e. only a
friend is allowed to view a profile of a particular member. I am not
using the restful authentication plugin as the author is using to
implement the authentication feature (post 1) in the tutorial. All I
am interested in is the post 5
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
hi guys,
I have a new development server (ubuntu 10).
I have done the following (the versions match my existing development
machine which works fine):
1. installed ruby 1.9.1p378
2. installed ruby gems 1.3.7
3. installed rails 2.3.8 (used "gem install rails -v 2.3.8")
4. manually installed my other gems including sphinx and thinking
sphinx with "gem install ..."
5. ran
2017 Jan 11
3
Dial() from the console?
Can I dial directly from the asterisk console with the Dial() application?
or, is channel originate preferred:
channel originate SIP/thufir extension 18003569377 at outbound
thanks,
Thufir
2009 Aug 28
0
get this error: "A copy of * has been removed from the module tree but is still active!"
Hi,
In one of my javascript functions I do two consecutive GET (ajax)
requests in quick succession. I get the following error in Rails
version 2.3.3 but not in 2.3.2. If I give a time lag (even 500ms)
between to two requests the problem vanishes!!:
----
ArgumentError
in StudentsController#index
<pre>A copy of StudentsController has been removed from the module
tree but is still
2009 Oct 12
2
yaml ?nodes? or nested maps
I want to iterate ?nodes? and ?leafs? for a yaml document:
thufir@ARRAKIS:~/projects/rss$
thufir@ARRAKIS:~/projects/rss$ ruby user.rb
user.rb:6: undefined method `[]'' for nil:NilClass (NoMethodError)
from user.rb:5:in `each_key''
from user.rb:5
thufir@ARRAKIS:~/projects/rss$
thufir@ARRAKIS:~/projects/rss$ ruby user2.rb
user2.rb:5: undefined method `[]'' for
2013 Dec 24
1
dovecot-postfix stack imap_client_workarounds
To use dovecot-postfix stack with thunderbird, do I put the
configuration into /usr/share/dovecot/protocols.d/impad.protocol? That
would seem to be how the stack is configured.
"Thunderbird
To use with Thunderbird, edit the file /etc/dovecot/dovecot.conf:
protocol imap {
...
login_greeting_capability = yes
imap_client_workarounds = tb-extra-mailbox-sep
}"
2012 Dec 10
2
IMAP instead of Maildir on Ubuntu Precise
Why is dovecot using Maildir and not IMAP. Or is it using even using
Maildir at all?
Currently I'm using mailman, postfix and dovecot to manage a mailing
list. Mail is sent to thufir at dur.bounceme.net which the "mail server
delivery agent stack provided by Ubuntu server team" of dovecot-postfix
handles fine, keeping it locally, so far as it goes. The mail ends up
in
2008 Feb 09
0
MVC interplay to query multiple models
I''m trying to track down why I''m getting close to desired output, but not
quite. It looks like the webpage sorta-kinda is grabbing the right
data. For instance, there are three Login objects which should be
showing and it looks like the show is grabbing three objects, so that
fits, to a degree. However, it''s just grabbing the hexadecimal object
id, and not
2010 Jul 01
9
how to install freephoneline.exe from CLI
Looking at:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=10591
What are the steps to install this application? Yes, it's a garbage
application, but I'd like to at least give it a go. Looks like msiexec
apparently isn't the right approach. Should that be through wcmd instead?
thufir at ARRAKIS:~/.wine/drive_c$
thufir at ARRAKIS:~/.wine/drive_c$ msiexec
2007 Jun 21
11
one-to-one, compound primary key, naming conventions
My understanding is that, given tables Alpha and Beta that the table
which holds the 1-to-1 relation will be called Alpha_Beta (or is it
alpha_beta?). So far so good.
alpha_beta will have, lets say, two fields: alpha_id and beta_id. Seems
that it''d be a good idea for those two fields to form a compound primary
key, ensuring there are no duplicates.
However, RoR doesn''t
2017 Jan 17
2
How to send SIP_NOTIFY messages with variable content ?
I would be very interested in using sipsak for something like this. What
have you tried so far?
-Thufir
On Mon, 16 Jan 2017, Olivier wrote:
> Thinking over my previous, I wonder if sipsak could be used to send
> outgoing SIP NOTIFY messages.
> Would both Asterisk and sipsak be able to share networks resources ?
>
> Thoughts ?
>
> 2017-01-16 14:10 GMT+01:00 Olivier
2008 Aug 25
1
acts_as_state_machine: SecurityError calling insecure method
(also posted on rails forum:
http://railsforum.com/viewtopic.php?id=21744, then I discovered this
lilst and there are many more people...)
Hi, since yesterday I suddenly recieve lots of such messages in my
logfiles - and everything in the user model that uses that plugin fails!
My deployed Rails code hasn''t changeed in 5 days, and those errors
started to appear only a day ago.
2015 Feb 13
2
asterisk -r spammy
when running asterisk -r, is there a way to turn off the messages? I
didn't find the answer in the man page.
thanks,
Thufir
2015 Mar 20
0
UNREACHABLE peer
Turn on sip debugging for this peer and watch for the options sending
and response.
If you are getting a response to your options asterisk shouldn't be
marking the peer as unavailable.
is your asterisk behind a firewall?
On 20 March 2015 at 13:42, thufir <hawat.thufir at gmail.com> wrote:
> I wasn't able to get much out of babytel, beyond the fact that I was,
> apparently,
2008 Sep 02
4
Attachment_fu, Paperclip, & S3
For various reasons, I made a git branch and installed Paperclip in
place of attachment_fu. Paperclip works great except that images seem to
have lost some quality; edges have gone a little too jaggy to be able to
drop attachment_fu just yet. After a post on the Paperclip Google Group,
someone suggested the :convert_options could be passed additional
attributes, like ''quality'',
2016 Jul 06
3
rasberry pi
ok, that's really all I need to know. Of course, if anyone else wants to
throw in their two cents, don't let me stop you :)
-Thufir
On Wed, Jul 6, 2016 at 1:36 AM, Frank Vanoni <mailinglist at linuxista.com>
wrote:
> I'm currently using Asterisk 11.7.0 on a Raspberry Pi 2 Model B with
> Ubuntu Server 14.04.
>
> Works fine! :-)
>
> Frank
>
> On Wed,
2007 Nov 26
1
autotest problem, can you possibly help me ?
Hi,
Im running windows xp and configured autotest with:
http://railsforum.com/viewtopic.php?pid=4796
when i do
autotest --rails
i get following error:
D:/servers/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/unit_diff.
rb:187:in ``'': No such file or directory - diff.exe -u
C:/DOCUME~1/Piotrek/USTAW
I~1/Temp/expect.5412.0 C:/DOCUME~1/Piotrek/USTAWI~1/Temp/butwas.5412.0
2015 Mar 20
4
UNREACHABLE peer
I wasn't able to get much out of babytel, beyond the fact that I was,
apparently, sending options which is why I'm not getting 200 OK.
How can I, generally speaking, ping/telnet or otherwise test the
connection to get more data?
A connection to this peer directly from a softphone, Jitsi, works fine.
linux-k7qk*CLI>
linux-k7qk*CLI> sip show peer testcarrier
* Name :
2016 Jul 06
5
rasberry pi
I'm debating between a cloud PBX or, perhaps, rasberry pi. For a SOHO,
maybe three hardphones, rasberry pi would suffice? I would be amazed, but,
if so, great.
thanks,
Thufir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160706/84a0ac7c/attachment.html>
2007 Jun 13
0
Routing Error (was: Re: Action Controller: Exception caught)
On 6/12/07, Thufir <hawat.thufir-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> I just want to get a listing of my database, as I''ve done with a dummy
> example. Right now I''m getting:
>
> "Routing Error
>
> no route found to match "/legacy/list" with {:method=>:get}"
> <http://localhost:3000/legacy/list>
>
>