Displaying 20 results from an estimated 3000 matches similar to: "Ui Designing with Rails opposed to PHP"
2009 Jun 05
17
passenger on localhost
I installed passenger at home. How should I configure apache to make it
usable?
This was my last guess:
<VirtualHost localhost:3121>
ServerName 127.0.0.1
DocumentRoot /var/www/html/docsearch/public
</VirtualHost>
This gets by "apachectl start" without complaint, but I really haven''t a
clue what I''m doing ;)
Do I need to access it via a different
2009 Aug 04
2
Passenger, switching from development to production
It appears my http setup is working but I am getting an error when I try
to use a web browser to connect.
All I have done so far is to change the setting from what was working in
httpd.conf and move it to ssl.conf (adding some ssl things) and I am
using the same directory/set of files that was working for development.
The error...
Ruby on Rails application could not be started
Phusion Passenger
2009 Oct 30
1
Any pioneers who've configured passenger to support some apps running in 1.8.x others in 1.9?
Passenger configuration selects which ruby executable to use via a
global configuration variable (at least for Apache, I assume it''s the
same for Nginx).
I''m in a situation where I''ve got at least one rails app I''d like to
run on 1.9 while others remain on 1.8. This is for my development
machine running OS X 10.6. Normally I just use the Passenger PrefPane,
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
I upgraded Puppet master from 2.7.6 to 2.7.20 on CentOS5.8_x86_64.
But when I tried to launch ''puppet agent -t'' on one of staging servers, the
puppet daemon did not work and got heaps errors.
I have no idea what made it wrong and how to fix it.
Retrieving plugin [0m
Failed to generate additional resources using ''eval_generate: Error 500 on
SERVER: <!DOCTYPE HTML
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2011 Apr 20
11
Mac Phusion Passenger Pane not working
I have a feeling that this is something centered around my
apache/Passenger configurations but everything seems to check out.
Another off the hand problem I''m having, and might be a clue is w/ my
Passenger Pane. I installed the Phusion Passenger Pane and every time
I try to add an entry, I get this error:
"Your changes couldn’t be saved
See the Console log for details."
2008 Apr 16
1
File descriptor passing broken in FreeBSD 7?
Hi,
I recently tried to use the newly released mod_rails
(www.modrails.com) for Apache, and discovered it doesn't work on
FreeBSD 7. It does however work on FreeBSD 6 just fine.
I tracked it down to sendmsg() as detailed here:
http://code.google.com/p/phusion-passenger/issues/detail?id=16
The mod_rails/passenger unit tests fail on FD passing, as do the Ruby
1.8.6 standard unit
2008 May 02
6
looking for Mod_Ruby and easy Deployment Options? Sign Here
Hi,
http://www.ruby-forum.com/topic/151662#669164
Hi,
Please read more on the above link first, which is available in this
section of Ruby on Rails. It will give you a clear understanding of
Deployment scenario
The Author of that thread and Me too, are frustrated with Lack of Shared
Hosting and Tough Deployment Scenario, since nothing is shaping up.
We do not want to get carried away with
2008 Jul 02
3
Crashing after Update
Hello All!
I''ve been running Rails 2.0.2 with Ruby 1.8.6 for the last six
months. I developed an application that runs fine on two different
servers -- or at least, it used to.
I used Mongrel as a development server, but requirements called for
using Apache for a production deployment. I found Phusion Passenger
(mod_rails) and decided to give it a try.
I decided to update my rubygems
2011 Jan 13
2
send_file works on Rails2,SSL - except for IE7/6
Quirky stuff here,
The current setup works fine for Firefox 3.6 and IE 8 but balks on
earlier IEs. The files are PDFs, .doc files, and other binaries but up
to several MB:
A. the users'' problem is a minor IE7 quirk: it works to download files
from clicking links, but if you use the URL instead then the browser
stops after a fraction of a second. Refreshing or hitting Return again
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem.
I have an object @part=MainPart.find(:all)
1. @part.each_with_index do |mainpart,index|
2. <p><%= mainpart.object_id%></p>
3. end
Here problem is that object_id is reserved for rails. Here
object_id field in my table . Now i want to get value <%=
mainpart.object_id%> is giving GARBAGE VALUE. Is there any solution
apart from
2009 Mar 12
7
Is Mongrel dead?
Is Mongrel dead? When I look at http://mongrel.rubyforge.org/wiki/News
the latest news was from close to a year ago, when last version of
Mongrel was released. A look at the tickets shows a rather sad picture
with only two developers “evanweaver” and “luislavena” contributing to
the bug fixes lately.
Please understand that I am not complaining – I just want to know the
situation so that I can
2011 Feb 03
2
Possible to ask rspec to show more code in the debugger?
This came up from an other issue where I needed to go check something in
test::unit. Immediately when I dropped into the debugger in test::unit I saw
something I have been missing: test unit by default shows a number of lines
of code. Is there a way to make the rspec debugger do this?
I am not sure if it is just me, but seems to me that when I moved to rspec,
certain things which seemed to be
2009 Oct 23
1
Anyone using the rspec textmate bundle with Ruby 1.9.1
I''m now in the process of facing converting a rails app to use Ruby 1.9.1.
Has anyone figured out how to use 1.9 with the RSpec bundle in
textmate and preferably how to switch back and forth?
--
Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn:
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working
through the initial example. Although I''m a fairly experienced RSpec
user, I''m stlll learning new tricks.
Anyway, I''m going though the mastermind example, and everything is
going well, except that I decided to also try out the Textmate bundle
for Cucumber. I decided to use Ben Mabey''s
2009 May 24
11
Class method not being stubbed
Hi guys. I''m setting an expectation on a class method. For some
reason, the method isn''t being stubbed, and the expectation isn''t
seeing the call.
In KeywordListsController#create, I call the private method
#create_keywords_and_associate, which calls AdSenseHeavenParser#parse
.
Thus, some of my specs set an expectation on AdSenseHeavenParser#parse
. However, that
2010 Feb 10
7
undefined method join
Hey all,
I get an undefined method `join'' for #<String NoMethodError.
student.rb
has_one :student_fail
attr_accessor :student_fail_attribute
#controller
def student_fail
@student = @student.find params[:id]
def update_student_fail
@student.build_student_fail params[:student][:student_fail_attribute]
if @student.save
#view
form_for @student do |f|
2009 Dec 27
5
Difficulties in understanding Rail-Plugins in depth
Hi,
i try to understand how plugins work in detail.
Often you see stuff like:
class Post < ActiveRecord::Base
acts_as_commentable
end
I wonder what''s happen all there.
What kind of language-feature is behind this call "acts_as_commentable" ?
In my opinion you need some kind of extend or include to extend the
functionality of a model. And exactly this is which i found
2011 Jan 30
5
Named routes problem... more rails than rspec
Howdy,
I have emailed before about the inconsistencies I''m spotting when using
named routes/resource, but I think I''ve narrowed down the issue. It would
seem this has nothing to do with rspec per se, but more with how routing
works with rails.
If you have an object instance, that isn''t saved and you attempt to generate
a path for that item, even though the item may
2010 Jun 14
8
Default Test library
Along the same lines as the default javascript library discussion [1],
why don''t we switch the default test library to RSpec? The stats [2]
posted by Xaviar in the other thread seem to support that RSpec is the
preferred way to test.
[1] http://groups.google.com/group/rubyonrails-core/browse_thread/thread/e9b9cf2233d9a59b
[2] http://survey.hamptoncatlin.com/survey/stats
--
You received