similar to: Migrating rails 1.0 app to 1.1 - Noob question

Displaying 20 results from an estimated 10000 matches similar to: "Migrating rails 1.0 app to 1.1 - Noob question"

2006 Apr 11
2
''rake rails:update'' Error - can''t upgrade to 1.1.1
''rake rails:update'' is causing the below error for me when trying to upgrade my application. I''ve scowered Google and didn''t find much, has anyone else had this problem and solved it? C:\@cs\phase2>rake rails:update --trace (in C:/@cs/phase2) rake aborted! Don''t know how to build task ''rails:update''
2006 Apr 18
7
freeze_gems to upgrade and SVN
Hi all- I just decided to move from my 1.1.0 to 1.1.2. I had previously frozen to 1.1.0 and therefore had all of rails in SVN in my vendor directory. When I finally got rake freeze_gems to work, it blasted (rm -rf) my vendor/rails directory and put a new one in there. This also blasted all my .svn directories. Is there some convenient way to do a freeze upgrade and play well with SVN?
2006 Apr 18
2
make rails 1.1 code 1.0-compliant
Hello, I''m working on a rails 1.1 app on my mac, but my web host hasn''t upgraded from 1.0 to 1.1 yet, so the below code, which works on my machine, doesn''t work on the web server: # controller def compare_fields name = params[:person][:name] @exists = Album.count(["name like :n", {:n => name}]) render :update do |page| if @exists > 0
2005 Dec 13
5
Worked examples?
I've been experimenting with Samba a bit. I won't claim to know a whole lot about it, because I don't, and I'm even somewhat of a newbie when it comes to Linux/UNIX. But I've been working with the worked examples that the HOW TO docs describe on the website, configuring my smb.conf file as is stated. I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a
2006 Mar 30
11
Illegal char \002? Need to restart Rails to see changes?
Hi all, I''m developing an app on a home Windows computer and using SVN/Capistrano to deploy to a Linux server. I''m encountering some bizarre behavior that I think has something to do with Linux and Windows text file types, but I''m not sure. What''s happening is that, whenever I edit my view files and reload the page in my local browser, I see errors saying
2006 Jul 12
10
Recurring mySQL Error
I am getting the following error when running my app on the server: mysql::Error: Lost connection to MySQL server during query: <some SQL here> The SQL is usually a SHOW FIELDS statement, but after scouring the log files I see that it occassionally happens with other queries as well. I did a little research, and one topic I found suggested that I edit the /etc/mysql/my.cnf and increase
2006 Apr 11
8
Ruby 1.8.4, Rails 1.1 and Rmagick?
Someone mentioned that Rmagick doesn''t work properly on this setup (Ruby 1.8.4, Rails 1.1) Is this true? -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060411/432e8113/attachment.html
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) -- WEBrick does not start. Is there any workaround except "svn co" with Typo trunk? -- Yaroslav Markin yaroslav at markin dot net
2006 Mar 28
7
Rails 1.1 and "freeze_gems"
I''m on OS X Tiger, and just upgraded my gems. I also ran ''rake rails:update''. After that, I ran "rake freeze_gems", I recieve the following: ===================== Freezing to the gems for Rails 1.1.0 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails Unpacked gem: ''activesupport-1.3.0'' mv activesupport-1.3.0 activesupport Unpacked
2006 Apr 22
3
freeze_gems not freezing all gems?
Hi, I am currently experimenting on rake freeze_gems and there is something I do not understand. When I freeze_gems my app, it puts Rails in the /vendor/ directory, which works. But what about all other gems I have installed (for example Unicode, sqlite support, mysql support and so on)? The aim of freezing is to be independant of the versions of the ISP, but it seems that the server still
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1. Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb file to get past inital errors, but now I''m getting the following error:
2006 May 06
4
rake doc:rails fails
Hi there, Running doc:rails and doc:rerails on a fresh rails directory after running ''rake freeze_gems'' fail with the following error: > Don''t know how to build task ''vendor/rails/activesupport/README'' Should it work? That file doesn''t seem to exist. If that''s not the sequence for generating the api documentation, what
2006 Jul 12
5
railsapp/db/migrate Newbie question
I made a mistake when making my first app. I did not use the: ruby script/generate model <modelname> method for creating my models. I more or less hand crafted each og them. Is there a way to go back so I get my db migration scripts to populate? -- Posted via http://www.ruby-forum.com/.
2006 Apr 26
2
Deploying Rails Application?
Hi, after someone has performed the ''rake freeze_gems'', how does one reverse this action? I guess my goal was to deploy a 1.1.2 rails application on a 1.0 rails host. Is this the correct step to perform for deployment. If any one has any insight, please drop me an e-mail and thanks in advance. Peace, -Conrad -------------- next part -------------- An HTML attachment was
2004 Jan 07
2
questions
Hi, I have a samba server running on Linux (RedHat 9.0), with the security set to user and 3 valid user IDs. The clients are 3 PCs running on Windows XP (HomeEdition) and connected through a router. From the PCs running Windows I can see the localhost (Sambas Server), but for some reason one PC can only connect to the share directory on the Samba Server. The questions are as follows. 1. Should
2006 Apr 05
6
rake freeze_gems errors
I''m having problems trying to freeze local rails gem to my app with: rake freeze_gems On OSX 10.4.6 i get the following error: Illformed requirement [=#<Gem::Specification name=rails version=1.1.0>] This is the full output: Freezing to the gems for Rails 1.1.0 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails Unpacked gem: ''activesupport-1.3.0'' mv
2005 Nov 21
3
roaming profiles, not roaming
using samba v3 windows xp sp2 clients. i have profiles working to some extent, that is when i create a new user on the server, when that user logs in, the profile gets downloaded from the server from the /etc/netlogon/default user directory. any customizations that the user makes work just fine and get saved to the profiles share under profiles/username when the user tries to go to a different
2006 Apr 05
16
Migration won''t rollback to specific version?
Hi all, I''m confused about how migrations work. I''ve been using them for a couple of weeks but haven''t had any serious rollback issues yet. Just now I added a field to a table with a migration and ran "rake migrate", which added the field as expected. This was in the file db/migrate/007_mymigration.rb, making it version 7. Later I changed my mind and
2006 Apr 09
2
Substruct v0.6
I just put the finishing touches on Substruct v0.06. As always, you can check out a demo over at http://substruct.subimage.com/ What''s new? Version 0.6 --------------------------------------- Added: - Tagging for products - Maintenance of product tags - Automatic image thumbnail / small size creation via RMagick Updated: - Better shopping cart experience with AJAX cart
2005 Dec 02
1
roaming profiles odd.
using samba 3.14a, windows xp sp2 configured with roaming profiles. the profile seems to download properly but the start menu seems to be empty of shortcuts. anything tht requires reading of files seems to be acting strangely the files exist on the server but somehow they are not read on the workstation all of the /profiles/username directories are configured exactly the same. drwx------ 13