Displaying 20 results from an estimated 9000 matches similar to: "Rake Routes Blank on upgrade to Rails 3"
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run
bundle install, it only installs gems for that gemset. This way gems
dont creep into the wrong projects. Now I just pulled a project from
github. I made sure I was in the correct gemset, and then I run bundle
install and it works fine. but then when I use rake to create the
database "rake db:create". I get
2009 Oct 06
0
Named routes and a Railscast
I''m looking at railscast#102 ( http://railscasts.com/episodes/102-auto-complete-association
) and when I implement it, a certain named
( "formatted_channelnotes_path(:js)" ) route is used in:
<%= text_field_with_auto_complete :channel, :channelnote_name, { :size
=> 15 }, { :url => formatted_channelnotes_path(:js), :method
=> :get, :param_name =>
2013 May 14
1
rvm/capistrano
When I ran cap deploy:setup, the following actually installed rvm,
ruby and the online_store gemset on my staging server:
set :rvm_ruby_string, ''ruby-1.9.3-p0@online_store''
set :rvm_autolibs_flag, "read-only"
set :rvm_type, :system
set :rvm_install_with_sudo, true
before ''deploy:setup'', ''rvm:install_rvm'' # install RVM
before
2012 Sep 20
7
jQueryUI autocomplete (Rails 3.1): can't get source as url to work
Hey,
I''m able to duplicate everything in Ryan Bates'' screencast on jQueryUI
autocomplete (#102<http://railscasts.com/episodes/102-auto-complete-association-revised>),
except for the piece that calls the server for completion data.
Here is my view html:
<input data-autocomplete-source="/searches" id="search-markets"
2008 Feb 28
1
rake aborted! Don't know how to build task 'db_schema_dump'
Oh noes! What do I do?
Just installed RoR and SQLite3 yesterday, watched a screencast that said
the db_schema_dump will slaughter my enemies and make my poop smell like
rainbows. Now I get rake telling me that it doesn''t know how to. Any
help?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2008 Jun 17
1
problem when changing default sqlite to mysql
hi all,
i installed rails 2.1.0 just now before i was working with rails
1.2.6. when i try to check the application enviroment link in the index
page of the application it gave me
" MissingSourceFile in Rails/infoController#properties
no such file to load -- sqlite3RAILS_ROOT:
D:/RadRails/Workspace/Varsha "
here i am using win XP, no sqlite installed.
i have
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi.
I am pretty new to ruby (and those gems) and rails.. Until now I
thought that all rails application have some kind of integrated
version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in
Rails 3). And therefore I thought that having Rails 2 and Rails 3 in
the same gem repository (in my case gemset under rvm) wouldn''t be a
problem. But during installing
2007 Dec 10
11
map.namespace, rake routes yields no POST URLs
routes.rb
map.namespace :admin do |admin|
admin.resources :cupcakes
end
rake routes
cupcakes GET /cupcakes
formatted_cupcakes GET /cupcakes.:format
POST /cupcakes
POST /cupcakes.:format
That said, what the heck goes here:
form_for(:cupcake, @cupcake, xxx_url) # ???
Calling create_admin_cupcake_url yields...
undefined local variable
2006 Aug 12
0
trivial questions about rails edge
Hola!
I''ve just downloaded rails edge and noted two strange things:
----------------
1. The "About your application.s environment" link on "Welcome aboard" page
fails saying:
Rails/infoController#properties
uninitialized constant Rails::InfoController
The trace ends like :
vendor/rails/activesupport/lib/active_support/dependencies.rb:178:in
2010 Jan 19
0
rake cucumber features fails
Hey Guys,
Ubuntu 9.10
Env: Ruby 1.9.1
Rails 2.3.5
RSpec 1.3.1
Cucumber 0.6.1
Cucumber-rails 0.2.3
I''m starting with BDD with Cucumber/RSpec.
After creating a rails app, I did script/generate rspec and cucumber.
First problem, I can''t run cucumber by its own, as Ryan Bates does in his
screencast.
He freely runs "cucumber features -n"
2006 Jul 19
0
Wanted: Rails screencast for WebFaction
Hi everyone,
A few weeks ago we released the screencast of our control panel
(http://blog.webfaction.com/control-panel-demo) which showed, amongst
other things, how to setup a default Rails site in a few clicks.
Now we''d like to make another screencast showing how to setup a
real-world Rails application on our servers.
So we''re looking for a Rails guru to make that screencast
2006 Aug 16
2
ANN (Screencast): Rails and Typo screencast at WebFaction
Hello everyone,
WebFaction have just released a screencast demo showing a step by step
installation of a Rails application (a Typo blog) on their servers.
The 14 minute screencast shows how to:
- Install a default Rails application using our control panel
- Link your application to your domain(s) using our control panel
- Create a database using the control panel
- SSH into your shell account
-
2011 Mar 07
3
.rvmrc file not working?
hello,
i am trying to install gemsets but my .rvmrc file not working so i
have create gem sets with the command rvm gemset create rails3 but
when i am using rvm info its not showing the gemsets in the
environment.. this is the content of .rvmrc file
rvm 1.9.2@rails3 --create..help me guys..
thanks
nishant
--
You received this message because you are subscribed to the Google Groups "Ruby
2006 Jul 28
2
newb question...
This is what it says when i have this stupid error...
app/controllers/info_controller.rb:9: syntax error
this is what is inside of info_controller,
class InfoController < ApplicationController
def who_bought
@product = Product.find(params[:id])
@orders = @product.orders
respond_to do |accepts|
accepts.html
accepts.xml
end
end
if someone could please help me...
-/ James
--
2007 Dec 28
1
Rake routes & console showing one thing, app doing another
OK, I have a routing problem, that seems to be working in the console,
and with rake routes but not in the app.
I have people that have nested tasks, like so:
-------------------------------
# routes.rb
map.resources :people do |person|
person.resources :phone_notes
person.resources :documents
person.resources :tasks, :member => {:complete => :put}
end
map.resources :tasks, :member
2010 Oct 29
0
Uninitialized Constant Wx
Hello again. Another problem...
I installed RVM, and then installed Ruby 1.9.1. After that I used RVM to
make 1.9.1 the default Ruby version, and then I created a new gemset,
and then I told RVM to use that new gemset for Ruby 1.9.1. Then I did
"rvm gem install wxruby-ruby19".
After this, I ran my client script once to test it and it worked just as
well as it was working for 1.8. I
heroku not working /heroku/commands/pgbackups.rb:9:in `<class:Pgbackups>': uninitialized constant He
2010 Nov 16
0
heroku not working /heroku/commands/pgbackups.rb:9:in `<class:Pgbackups>': uninitialized constant He
Hi!
If i tipe heroku in console i become this:
~onemore~>heroku
/home/koli/.rvm/gems/ruby-1.9.2-p0@onemore/gems/heroku-1.13.1/lib/heroku/commands/pgbackups.rb:9:in
`<class:Pgbackups>'': uninitialized constant
Heroku::Command::Pgbackups::Help (NameError)
from
/home/koli/.rvm/gems/ruby-1.9.2-p0@onemore/gems/heroku-1.13.1/lib/heroku/commands/pgbackups.rb:6:in
2010 Dec 03
0
Rake Routes project_attachment_path
Hello, I''m trying to create a project_attachment_path
In my routes I have:
resources :projects do
collection do
get "attachments/:id/:style.:format" =>
"attachments#download", :as => :attachment
end
end
**Problem is in RAKE ROUTES:**
attachment_projects GET /projects/
attachments/:id/:style.:format
2009 Jun 28
0
rake test:integration appears to load routes twice
Whilst trying to find out why I was having problems running Webrat, I
put a puts into the routes file to see when it was loaded, and noticed
it gets loaded twice. Is there any problem with this.
It only happens with rake, not if running the test directly.
for a large routes folder, it would add a bit to test startup time.
2009 Jun 17
1
url_for and rake routes differences
I am caching and expiring pages/actions/fragments in my code and I''ve
come across a really frustrating problem
In my routes I have prefixed all controllers with the :locale. This
works well for the most part. When I cache a page/fragment it is
cached to /en/whatever etc... as expected
However when I try to expire the page/fragment the locale is not
prefixed to the url but added as an