Displaying 20 results from an estimated 2000 matches similar to: "back-porting 1.1.1 app to 1.0 rails server"
2008 Jun 03
15
Problem with rails environment with cygwin...mysql doesn't
I have rails 1.2.2, ruby 1.8, mysql 5 and Rad Rails in my win XP and
this
stack works fine.
But I''m trying to use rails 2.1, mongrel, capistrano, git, mysql all in
cygwin and e Text Editor.The only think that doesn''t work is mysql.I
installed this app from the source(in version 5.0.45, ./configure then
make install).All
right, but when I try to launch this error occurs:
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with
Plesk all day. Fun stuff. Basically, the issue that I can not solve has
to do with access to /public. None of my images, javascripts, etc. are
working in the app. Trying to access any of these results in a 404 (or
routing error if in developer mode). Oddly, the 404 file it displays is
-- you guessed it -- in fact *in*
2006 Jun 24
4
setting attribute in constructor, .NEW works but not .CREATE
I have table "decks" with three fields: "id", "created_at" and "cards"
which is a 264-character string field. I have modified the model with a
constructor, as follows:
class Deck < ActiveRecord::Base
attr_reader :cards
def initialize
@cards = "12345"
end
end
If I call Deck.new from my controller, I get no errors and an object
with the
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of
the rails libs if it exists in the vendor directory, or do I need to
tweak something else to pick it up?
Thanks!
-Theo
2006 Aug 12
5
In place editing on a list - not passing ID through
I want to do in-place edits on a list of data, but I''m having trouble
getting the ID passed through to the controller.
I use this in my view to create the field:
<% for frame in @frames %>
...
<%= in_place_editor_field :frame, :price %>
<% end %>
and this produces the following in my output:
<span class="in_place_editor_field"
2006 Nov 05
4
sending email..
i am trying to send email via my app, and although it was working
previously (i had to fiddle with the authentication to get it to work
correctly) but it was working fine..
today, i tested it, and i am getting this:
Net::SMTPFatalError (550-Verification failed for <xxx-ip11aQz5vkFBDgjK7y7TUQ@public.gmane.org>
550-(result of an earlier callout reused).
550 Sender verify failed
):
2006 Mar 28
1
freeze_gems version number
I''m having a lot of problems with typo and rails 1.1 and I am looking
for a way to revert back to 1.0 just for specific projects with
problems.
Is there a way to run, rake freeze_gems, and specify rails 1.0?
Thanks
--
Joe Clarke
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine):
--------------------------------------
Full executation backtrace:
--------------------------------------
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in
`execute_callstack_for_multiparameter_attributes''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2006 Aug 18
3
Understanding MVC - view customization after using scaffolds
All,
I have ordered AWDWR and am anxiously awaiting its arrival. In the
meantime I still am playing with ROR using radrails. I have a few
questions ...
I create a table named customers with the following details:
Field Type Null Key Default Extra
id int(11) NO PRI auto_increment
customer_name varchar(50) NO
inbound_retention int(11) NO
outbound_retention int(11) NO
unix_admin_email
2006 Mar 16
1
login_engine error
Hey All,
I have been unsuccessful at getting the login_engine installed. I
have used it before but since the last time I''ve used it I can''t get
it to work correctly.
I was wondering if someone could help out with the following error:
undefined method `password_confirmation='' for #<User:0x2aaaad1421a0>
Any Help?
Thanks,
Adam
<<<<<<REST OF
2008 Jun 05
23
unit test question
In development and production, I''ve got postgresql constraints that
prevent deleting a CaseManager if there is a Client that belongs to that
CaseManager.
In unit tests...and obviously in my testing db, those restrictions don''t
get added.
Is it wrong to test for deleting dependent records in unit tests?
Craig
--~--~---------~--~----~------------~-------~--~----~
You received
2006 Jun 21
14
[Bounty] 1 pizza for 1 simple plugin
So here''s the deal. I don''t know the innards of rails well enough to
do this quickly but you might. First person to write this and release
it under MIT license or public domain, and tells me, gets a free
pizza from your favorite local delivery place. You pick the toppings,
I''ll call ''em and order it up for you. Yeah a pizza isn''t much but I''m
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the
latest prototype stuff into my public directory. To my surprise, the
old files were still there afterward.
I just took a peek at javascripts.rake in
vendor/rails/railties/lib/tasks. The update_javascripts task is copying
.js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My
railties
2006 May 25
5
Application stops working over night: (Errno::EPIPE (Broken pipe)) is the error
I know this question gets asked a lot but I can''t seem to find the
answer when I search through the mailing list. First off here''s my set
up.
Cent OS 4.3
Apache 2.0
Fast CGI 2.4.0
Rails 1.1
Mysql 5.0
The app starts up fine, but every morning it refuses to start and gives
me the dreaded Application error untill I reload Apache. I thought my
database was timing out so I added
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following:
r.highlight(@condition, :field => ''body'')
''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved
field.
I am running latest ferret and a_a_f trunk. Am I doing something wrong?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 16
4
problems with latest and greatest ?
I just did the following:
1) checked out latest rails from svn.
2) built project using the /bin/rails with the latest rails binary.
3) did a "rake freeze_edge" within the project
Now, script/server is failing
===========================
./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1:
undefined method `namespace'' for #<Object:0x401ce970>
2006 Mar 15
9
Rails 1.1 is coming!
"Rails 1.1 is coming" - Feb 26, 2006 post in rails-core
* http://www.ruby-forum.com/topic/55991
Final Drive Candidates (highlighted for review by core members)
* http://dev.rubyonrails.org/report/19
Potential Rails 1.1 Blockers
* http://dev.rubyonrails.org/report/10
Did you know you can run many different versions of Rails on the same
physical server? This means you can test
2006 Apr 01
2
my app broke this morning on with this error.
Like I said, my app suddenly stoped working in the last few minutes.
I''m on dreamhost but I''m running rdge rails locked in on the 1.1
release.
Stale NFS file handle - ../config/../log/production.log
/usr/lib/ruby/1.8/logger.rb:520:in `write''
/usr/lib/ruby/1.8/logger.rb:520:in `write''
/usr/lib/ruby/1.8/logger.rb:318:in `add''