similar to: Rails 1.1 for new apps only

Displaying 20 results from an estimated 3000 matches similar to: "Rails 1.1 for new apps only"

2006 Mar 22
15
Rails-1.1.0-RC1 tagged today (4010)
Looks like Rails 1.1.0 RC1 is finally here: http://dev.rubyonrails.org/changeset/4010 -- Posted via http://www.ruby-forum.com/.
2006 Feb 22
5
[OT] Apache rewrite stuff...
Hi all, a little off topic, but was wondering what the best way is to re-write incoming requests so that they all end up at the same domain. For example, if I had: my_domain.net my_domain.com my_domain.org Whats the best way to map/redirect all of these to www.my_domain.com ? I know its possible, just not sure what to add for rules/virtual hosts in my apache config. Thanks for the help! -Nick
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All, I’ve got a few versions or Rails installed and I''d like to run an App I’m developing with various versions of Rails. I heard of two ways to switch the version of Rails that an app uses: 1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/ . But that requires using Bash in a Command Window and more steps than I want to go through. 2. Alter
2006 May 08
6
how to make field in model immutable after create
Hello everyone! I want to have login field in User model which is set only once (on create), and then it should fail validation if the value is changed. How can I do this? I dig around for validation and tried def after_validation_on_update unless User.find_by_login(:login) errors.add(:login, "is immutable. You can''t change it") end end in model, but somewhat it
2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form. For text field like this: <%= text_field_tag :courseid %> I''m able to capture the posted value with this params[:courseid] However with a select field like this: <%= select(:course, :id, %w{value1 value2 value3} %> I''m not sure how to capture the posted value. -- Posted via
2006 Jun 06
5
[OT] O''Reilly Cookbooks
Hi, Has anyone gotten the "roughcuts" of the Ruby and Rails cookbooks? If you have the Pragmattic Rails Cookbook is the O''Reilly worth it? Also can you download PDF''s of their "roughcuts". The website is kind of vague, it just mentions online access (whatever that means). Thanks in advance.
2006 Feb 22
5
svn externals and Edge Rails
Hi all: I am considering using edge rails so I can use join tables. I want to use svn:externals to manage edge rails, however I want to understand it more before I go and set everything up. so everytime I commit my app it will pull the most recent version of rails from the svn repository, right? What if the current version of rails is unstable, is there a way to rollback edgerails and NOT my app?
2006 Apr 03
4
How to create new rails 1.1 app if only rails 1.0 installed?
I have rails 1.0 and I cannot install rails-1.1 system-wide. However, I can freeze_edge (but just once because of svn 1.1.4 on Debian). Under this scenario, how can I create brand new rails-1.1 apps? I know how to freeze_edge *existing* rails-1.0 apps but that process seems to be imperfect because the script/about command and /rails/info/properties URL do not work after freezing to 1.1.0
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 Feb 11
6
Rails 1.1?
I have a few very basic questions. Is anyone using rails 1.1? How/Where can I get Rails 1.1 (I don''t see it on RubyonRails.org? What are the issues involved in moving from Rails 1.0 to Rails 1.1? If I move to Rails 1.1, can I downgrade? Just curious. Thank you very much for your assistance. Frank --------------------------------- Yahoo! Mail Use Photomail
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is going to be for existing apps? I''m finishing up my first real RoR application with Rails 1.0. I can live with it staying at that level, but I really want to use the has_many :through attribute to clean up some of my code. I''m not particularly interested in edge Rails, mainly because the documentation for
2006 Mar 29
1
Unit tests rail on 1.1, was fine on 1.0
Running Debian 3.1, ruby 1.8.2, postgresql 7.4.x, rails-1.0 gem and rails-1.1 (rake freeze_edge). After if ''rake freeze_edge && rake rails:update'' (to rails 1.1), my unit test fails with an error attempting to create sequence table that already exists (ie. addresses_id_seq table). But if I roll back with ''rake rails:unfreeze'' (to rails 1.0), my unit
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
2010 Dec 16
1
defining a formula method for a weighted lm()
In the vcdExtra package on R-Forge, I have functions and generic methods for calculating log odds ratios for R x C x strata tables. I'd like to define methods for fitting weighted lm()s to the resulting loddsratio objects, but I'm having problems figuring out how to do this generally. # install.packages("vcdExtra", repos="http://R-Forge.R-Project.org")
2006 Feb 11
1
Fastcgi and mysql woes
Hi, I have been heck of a time to get mysql and fastcgi to work properly on my Mac OS X box. I keep getting the following error: Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (13) I have even tried commenting out the "socket" option in my database.yml but it still gives me the same error. I''m ok when I
2006 Mar 20
7
error using feedtools
I performed a gem install feedtools, I then added these 2 lines to my environment.rb: require ''rubygems'' require ''feed_tools'' I then added this method in my controller: def rss @post = Post.most_recent feed = FeedTools::Feed.new feed.title = ''Recent Rambles'' feed.subtitle = ''random thoughts by me''
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app will not run with rails in the vendor folder. Have I forgot to do something? I"ve been without the internet for the last two months. Has something changed?
2006 Jun 07
1
How to freeze_edge with TortoiseSVN and InstantRails
I installed TortoiseSVN, created a local repository at c:/instantrails/SVNRepository. I have an app that I want to put into SVN and also do a freeze_edge for, but I''m not sure how. I ran command ''rake freeze_edge'' and got the error: ERROR: Must have subversion (svn) available in the PATH to lock this application to Edge Rails rake aborted! Any advice or links to a
2006 Mar 13
1
"rake freeze_edge" over proxy?
How do i use "rake freeze_edge" over a proxy? "rake freeze_edge -p http://...." doesnt work THanks Chris -- Posted via http://www.ruby-forum.com/.
2019 Jan 29
3
Finding label of basic block where a conditional branch merges
Hi, is there any standard way to figure out the label of the basic block where a conditional branch merges? If we have a branch statement without an else part this is straightforward: br i1 %cmp, label %if.then, label %if.end, !dbg !24 We only need to check the operand names whether they contain "end". However things are getting more complex when there is an else branch and in