Displaying 20 results from an estimated 3000 matches similar to: "whenever gem"
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
Hi,
I just released rails-brakeman.com, it is an online service to find
security issues in your rails projects, it works based on Justin''s great
gem brakeman <https://github.com/presidentbeef/brakeman>.
Rails developers always write code fast, but sometimes they leave some
security issues in their rails project. Do you still remember mass
assignment issues from github? Using
2012 Jun 07
3
Couldn't reload a module when it's changed. Tried :require_dependency, :watchable_dirs, :unloadable
I''m completely messed with module reloading in development mode. I have
to restart app server each time I edit lib/z/nginx.rb which is included
in app/models/user_case.rb
app/models/user_case.rb
require_dependency ''z/nginx''
class UserCase < ActiveRecord::Base
include Z::Nginx
unloadable
I added to environment.rb
2013 Mar 09
1
Unexpected behavior looping through sequence of dates
I understand that the two following loops should produce the exact same output. However, they do not. It appears that looping directly through the sequence of Date objects somehow makes them be coerced to numeric:
> date1 = "20130301"
> date2 = "20130302"
>
> d1 = as.Date(date1, format="%Y%m%d", tz="GMT")
> d2 = as.Date(date2,
2015 Jun 26
1
Preserve CDR unique across multiple servers
I am already using the unique in both servers, but both generate different id?s, but i am unable to get the original one from the gateway box to store it in the final CDR?
--
Rui Mota
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday 26 June 2015 at 14:52, Tech Support wrote:
> Check out the ?uniqueid? parameter in cdr.conf and cdr_adaptive_odbc.conf.
> John V.
>
2011 Sep 26
1
Packet loss between Xen machines
We are experiencing some packet loss between xen machines which we
haven't seen before. Is this a problem anyone's run into before and/or
has ideas on how to diagnose the issue?
The setup is CentOS 5
xen-3.0.3-80.el5_3.3
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jan 30
3
Problem with Centos 6.2 KVM
Greetings,
Launching the virt-manager yeilds following error
Error polling connection 'qemu:///system': internal error Cannot find
suitable emulator for x86_64
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 440, in _tick
conn.tick()
File "/usr/share/virt-manager/virtManager/connection.py", line 1414, in tick
2011 Oct 08
2
disk i/o benchmarking inside vm
Hi,
I'm having trouble benchmarking disk i/o in my vm's. The data I get seems
bogus.
I have two centos 6 guests which use a raw image as volume. Each volume is
stored on its own physical disk and both disks are the same model. The host
system is fedora 15 with the virt-preview repo enabled. The disks for the
guests use virtio and caching is set to none.
My problem is that I get very
2012 Mar 12
3
FLAC build for Visual Studio 2010?
Has anyone been able to build the FLAC libraries on Windows using Visual Studio 2010?
Thanks,
Michael
Michael S. Scherotter
Microsoft Corporation<http://www.microsoft.com/>
Principal Architect Evangelist
Email: mischero at microsoft.com<mailto:mischero at microsoft.com>
Blog: http://blogs.msdn.com/Synergist
Zune<http://social.zune.net/member/MS+Synergist> |
2014 Dec 19
2
Pickup/steal calls
Hi. I am replacing a legacy Alcatel PBX for asterisk and now i'm facing a request i can't answer yet: I need to replicate the "Call Pickup" function from Alcatel, mostly when used by a secretary picking up a call from his manager. The pickup function, as i'm already using her is not enough, i need the pickedup number to be shown in the secretary phone. Is this doable, using
2015 Mar 30
1
Problem With Android Configuration
Thanks for reply.. I'll try and then i'll advise you if it woks
Andrea Squeri
Il 30/mar/2015 11:38 "Vil Brekin" <vilbrekin at gmail.com> ha scritto:
> Hi there,
>
> I've finally had a deeper look and found the Lollipop routing issues root
> cause: Lollipop uses several routing tables instead of the default one for
> previous Android versions. The main
2015 Jun 26
3
Preserve CDR unique across multiple servers
Hi.
I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk.
I am having some trouble on matching both CDR?s, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of
2012 Aug 30
1
[Whenever gem]What is the reason that linux's cron can't automatic running?
OS : Ubuntu 12.04
Now I use Backup <https://github.com/meskyanichi/backup> and Whenever<https://github.com/javan/whenever> gem
to backup my database.
When I run backup perform -t my_backup ,I can works.
But when I check the task crontab -l ,it as this:
0 22 * * * /bin/bash -l -c ''backup perform -t my_backup''
Run cat /etc/crontab to check my cron configuration
2015 Mar 27
2
Problem With Android Configuration
I switch to lollipop 4 months ago and I never had issue. So for my opinion it is ready for daily use.
Before try tinc I had my vpn implemented with openvpn, and it works great on lollipop. I switch to tinc because i prefer a mash vpn topology versus a client/server topology.
--
Andrea Squeri
Inviato con Sparrow (http://www.sparrowmailapp.com/?sig)
Il giorno venerd? 27 marzo 2015, alle ore
2013 Mar 12
8
Heroku db id Starting with 1000
Hello All,
How do I change the heroku database( already existed ) table id to start
from say 1000?
I tried with a fresh database on local & it works with this:-
*execute "ALTER users orders AUTO_INCREMENT = 1000"*
Thanks,
Avinash
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from
2009 Jun 11
4
Using view helpers and route helpers in a model
Hi there,
I am trying to get something working and its driving me crazy. I have
been looking around for solutions to getting view helpers working in
models and for the most part I find this solution.
Add the following in the model you want to use them in
include ActionView::Helpers::UrlHelper
include ActionController::UrlWriter
However, when I try something like
2012 Apr 25
3
Meet the new maintainer
I'll throw this thought out here so it doesn't get lost: when it came time for me to build a Windows release, I always used a quarantined Windows box that had the minimum stuff installed and had never been on a network, to avoid malware getting into the binaries.
The last thing I ever wanted to hear was some Windows user blaming FLAC because a bad build infected him.? It was bad enough
2013 Jan 15
2
error in for loop in function (object not found)
Hi all, I have attached the function file (revisedfunction) and the list
of station IDs (StationIDs) in .pdf format.
I have written a function to perform various operations on the station
IDs in two groups. The first 6 station IDs require one less step than
the remaining 68 station IDs. The file referenced at the beginning of
the function is the file containing the StationIDs.
> file =
2013 Jun 05
1
Link_to image_tag popup
Hello All,
How can I add a popup in link_to image_tag?
I am trying as :-
<%= link_to image_tag(@user.avatar.url(:small)), ''/users/edit'',
:popup=>[''original_image'', ''height=700,width=900''] %>
It goes to the edit page. But it doesn''t opens popup.
Is this the correct way to call a popup?
How can I achieve this?
Thanks,
2015 Mar 27
2
Problem With Android Configuration
I don't know.. It seems that anyone had try to made work tinc with
lollipop. Even googoling i don't found anything about this argoument.
Andrea Squeri
Il 27/mar/2015 06:55 "Tatsuyuki Ishi" <ishitatsuyuki at gmail.com> ha scritto:
> SELinux is considered as the biggest problem.
>
> On Thu, Mar 26, 2015, 22:37 Andrea Squeri <andrea.squeri at gmail.com>
2012 Jun 08
7
filter children with acts_as_tree
Hello Experts,
I have a tree of categories in this category object there is a property
called type.
the root categories have no type but the children have. so how I can get
all the roots with filled in children that have category type = ''B'' for
instance.
I tried to run Category.roots then delete children With a category not
equal to ''B'' but this causes a major