Displaying 20 results from an estimated 3000 matches similar to: "Request for Feedback - What do you want in an ENC"
2012 Dec 20
0
Testing Torquebox scheduled jobs with rspec
Hi everyone,
I am using Rspec for testing in a Ruby on Rails application for a client.
We are using Torquebox and he asked me to created a Torquebox scheduled job
[1], but I can''t find any information on how to write tests for it.
Can anyone help me?
Best regards,
Daniel Sousa
1: http://torquebox.org/documentation/current/scheduled-jobs.html
--
You received this message because you
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to
accompany Puppet 3.0 and Hiera 1.0.
It includes Puppet functions for hiera and also the puppet backend for
hiera lookups.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz
* Apt and yum development repositories
* Apple package
2012 Aug 31
1
after_fork - ActiveRecord::AdapterNotSpecified
Hi all,
I''m fighting with the after_fork hook and my sinatra application. The Sinatra app is using active_record,
In my unciron.rb file I''m using
preload_app true
after_fork do |server, worker|
? defined?(ActiveRecord::Base) and
??? ActiveRecord::Base.establish_connection
End
but I always get the error:
ERROR -- : ActiveRecord::AdapterNotSpecified
2009 Mar 04
5
Sinitra 0.9.1 Webrat 0.4.2 Cuc problem
Have created sample sinatra cucumber app as suggested on wiki. Tried both
env.rb configurations from there and aslaks git repo. With this combination
of gems I get the following error doing basic cuc tests
When I visit ''/foo'' #
features/step_definitions/general.rb:1
PATH_INFO must start with / (Rack::Lint::LintError)
2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
I am trying to run cucumber/webrat with Sinatra on Jruby 1.7.3 (1.9.3) on
Windows.
It seems to work ok, but when I try to add selenium to webrat. I get the
error shown below.
It seems like it thinks it is in a linux environment or something as the
error happens when it tries to start selenium server and there is a "&" at
the end of the argument chain. I took a look at capybara
2008 Oct 23
2
How-To: Intel Mac Mini
I would like to do a How-To on installing CentOS 5 as the "only" OS on an
new intel mac mini.
The Machine:
1.83 Ghz Core 2 Duo
4 Gig Ram
320 Gig Hard Drive
DVD/CDRW
Intel 950
Apple USB Keyboard
Apple Bluetooth Mighty Mouse.
20" Apple Cinema Display (DVI)
Complete apple system.
Why?
I prefer running Linux on Apple Hardware. I would like to help people save
time that want to
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi.
I have a simple application and I want to add a file upload
functionality. How can I write a spec?
Here''s my try.
# directory structure
app:
- controller.rb
- controller.spec.rb
- files: []
- fixtures: [test_file.png]
# controller.spec.rb
require ''rack/test''
require ''controller''
module MyHelpers
def app
Sinatra::Application
end
end
2011 Nov 28
0
Software Developer (Ruby, Rails, Sinatra), Full Time Position, Phoenix, AZ
Good day! I wanted to reach out to you about a full time job
opportunity. This is a Software Developer (Ruby, Rails, Sinatra)
position located in Phoenix, AZ. Below are the details of the job. If
you believe that you are a good fit for this position, apply now or if
you have someone else in mind who would suit the requirement please
pass this email along. We do have referral bonus for most of our
2013 Mar 04
1
sinatra server side file upload with progress bar ?
I am using this jquery file upload plugin. In firefox it has progress
bars, but these don''t work in IE.
We are using Sinatra/JRuby/tomcat
This is the plugin:
https://github.com/blueimp/jQuery-File-Upload
I believe the progress bars don''t work in IE, because IE doesn''t support
that in ajax until version 10 and we have to support version 9.
This page summarizes
2012 Apr 13
0
console for JRuby/Sinatra with Tomcat ?
We are using Ruby Sinatra running on JRuby with tomcat as a server.
I saw where it was claimed you could get a console in Sinatra by doing
something like this:
irb -r my_sinatra_app.rb
for me that would be
jruby -S rb my_sinatra_app.rb
but I get this error when I do that as obviously tomcat must
initialize some things:
C:/Tomcat60/webapps/ROOT/WEB-INF/vendor/activerecord-jdbc-
2009 Aug 05
5
Logging out with Rake:Auth:Basic
Hi all,
I''m writting a small app that requires basic authentication in Sinatra.
I followed the advice of the official Sinatra faq
(http://www.sinatrarb.com/faq.html#auth) and have implemented this code
with success:
[code]
require ''rubygems''
require ''sinatra''
helpers do
def protected!
response[''WWW-Authenticate''] = %(Basic
2010 Apr 23
2
Routing a Sinatra application
Hello,
I wish to route a sinatra application in my Rails 3 app. As said by
Yehuda, it should be possible.
http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/
However I see the route isn''t recognized and I get
ActionController::RoutingError problems.
It works well with simple rack apps however (the test in actionpack
with a lambda passes well).
I''ve written a test
2012 May 22
0
Announce: Hiera 1.0.0rc3 Available
Hiera 1.0.0rc3 is a feature release candidate designed to accompany Puppet 3.0.
Changes to Hiera since 1.0.0rc2 were mainly to ease packaging and
improve testing.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-1.0.0rc3.tar.gz
It includes contributions from the following people:
Kelsey Hightower and Matthaus Litteken
See the Verifying Puppet Download section at:
2010 Nov 19
1
Performance issue with Thin
It''s not about scalability on a huge site, but the lowest possible
latency for a very small app.
I have a little app with Thin and Sinatra. My app generates the page in
about 50ms. After getting the browser request, thin waits 50ms and then
it takes 300ms sending the page, to Chromium at localhost.
(It takes 300ms to send a static a.html with the word "test" on it, too,
so it
2010 Jun 09
4
rails+sinatra sent image
Hi!
I have simple rails application - users with name and avatar and in
sinatra I want to create new user.
form for new user
<form action="/users/create" enctype="multipart/form-data"
method="post">
<p>
<label for="name">Name: </label>
<input type="text" id="name" name="user[name]" >
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
I need to send an ics file to a web service, so however it gets there it
will arrive as a string. Is there another way to begin Icalendar''s Parse
than with a file?
I''m currently sending the file using the curl command...
curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event
I''ve tried curl''s --data-binary and sinatra''s
2013 Feb 21
1
Is possible to use Sinatra with Rails????
Hey guys, Do you have any idea how to implement Sinatra with Rails ?????
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
2012 Feb 10
2
puppet-module-tool question
The puppet-module-tool GIT pages says it''s been converted into a
puppet face and merged into puppet core. Does this make puppet-module
obsolete or does it still need to be installed? I''m running puppet
2.7.9 but this "face" is not included so obviously it''s not available.
Can someone provide a little clarification please.
--
Later,
Darin
--
You received
2011 Jan 06
0
issue with the attachment_fu on sinatra with rails 3
Hello experts,
As I''ve posted in my previous post that problem with attachement_fu on
sinatra
http://www.ruby-forum.com/topic/814969#972738
I need to upload an image from my local computer to a web server and
store the location in a database using attachment_fu plugin
Any ideas on how to get this to work?
-Ganesh K
--
Posted via http://www.ruby-forum.com/.
--
You received this
2012 Mar 06
1
Issue with pe-dashboard-workers
I''ve almost gotten PE running --
Based on tips from a recent Webinar, I''ve started on a minimal RHEL 6
system, and have installed the PE 2.03 packages. Once I set up /etc/
hosts (DNS will come later), I started the PE services. Given past
problems (possibly just me), I was pleasantly surprised that the
puppet-enterprise-updater script was so accommodating as I remembered
which