search for: app_generator

Displaying 7 results from an estimated 7 matches for "app_generator".

2006 Jul 16
0
Patch for selecting MySQL socket in app_generator.rb
Was trying out Streamlined and it was complaining about not finding /tmp/mysql.sock. Traced the problem to the rails command. In app_generator.rb, it is trying to find alternate paths for the socket only when the OS is Windows. A simple change from = to ! fixed it. http://dev.rubyonrails.org/svn/rails/trunk/railties/lib/rails_generator/generators/applications/app/app_generator.rb *** old/app_generator.rb 2006-07-16 00:07:05.3104...
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5, rubygems 1.3.5, mysql 5.2 something I believe. I have ruby installed in: C:\Ruby and my mysql is installed in: C:\wamp\bin\mysql\mysql5.1.30\bin I''ve attempted to change my database.yml file to include the port 80, and port 3036, the
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
...yg ems/custom_require.rb:36:in `require'' from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg ems/custom_require.rb:36:in `require'' from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt ies-3.2.1/lib/rails/generators/rails/app/app_generator.rb:1:in `<top (required)> '' from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg ems/custom_require.rb:36:in `require'' from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg ems/custom_require.rb:36:in `require''...
2007 Nov 05
3
How to get rails command to default to MySQL instead of SQLite?
I''m running OS/X 10.5 Leopard. Although I have MySQL installed the rails command creates a database.yml file that defaults to SQLite. How do I get it to default to MySQL instead? TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2011 Nov 02
3
activeldap and migrations
Stupid activeldap is messing with my mind ;-) rails (3.1.1 activeldap (3.1.0) rubygems-update (1.4.2) I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models. I want to add some more things to my models but activeldap is killing my attempts to create migrations... cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings error
2007 Mar 30
7
Some additional attacks on Cookie Session
Aside from the replay attacks discussed, there are some other attack vectors on the cookie_session store. I appreciate (and admire!) Jeremy''s good humor on all of this: > Planting the seed here led to quick ripening and plenty of pesticide. > Thanks for the fish, all. > > jeremy Anyway, here''s what we came up with: 1. Brute Force SHA512 can be computed _very_ fast.
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.