Hi,
i think that bundler tries to install the gems globally for all users on
your machine. It means into your system's gem repository. So you need to
input the root password or your password if you're in the admin group to
allow write access. If you want to install gems in your home dir have a
Hi,
default routes are commented out by default in rails 3 as a security
issue. So you can't reach any action on your controllers if you just
know or guess the name of it.
/:controller(/:action(/:id))(.:format)
You can comment it in again if you want to. It is at the bottom of
routes.rb.
Max.
reconnect: false
database: news_development
pool: 5
username: root
password:
host: localhost
Max.
There is space at the beginning and end of every line. Password is
blank. I have created a db news_development in mysql.
Rails: 2.3.5
Ruby: 1.8.7
OS: WinXp
--
Maksim Gudovsikov
Hi,
you can't attach files on this mailing list. You need two whitespaces at
the beginning of the line. See the part i posted in the last mail.
Hope that helps.
Max.
P.S. Why don't you just take the generated database.yml and replace the
values you need without touching the rest of it?
Am
Am 08.10.2010 09:17, schrieb Premanshu Mishra:
C:\ruby\bin\newprojruby script/server
output is: ruby: No such file or directory -- script/server (LoadError)
C:\ruby\bin\newprojruby script\server
output is : ruby: No such file or directory -- script/server (LoadError)
Is it because create
Am 07.10.2010 23:22, schrieb Murph2m:
This has all worked great and I now need to generate the next bit of
scaffolding but I don't know how to get back to the command prompt
after using 'rails s' . I know I could launch another terminal session
but is this the only way? Will I be leaving one
Hi,
you could try putting a canonical tag into your view. Saying google that
/photos is the same content as /photos.html.
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
Greets, Max.
Am 06.10.2010 16:49, schrieb Christine Nyb:
Hi,
I have searched the forum
Hello list,
Hi Mark,
I'm a fairly nooby Rails developer of very little brain, and this error has
had me confused for the last several hours.
It's a very simple (unfinished) Rails app. It has a model called Tasks. It
has a very basic routes.rb
resources :tasks
root :to =
but can't seem to find it. Maybe I'm not
looking in the right places.
Can somebody please point me to a place in a documentation where I can
find a complete list for the different options for html_options
parameter?
--
Maksim Gudovsikov
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76
/ActionView/Helpers/FormOptionsHelper
http://rubydoc.info/ is imho the best ruby and rails docs on the net.
Maybe it helps you next time you search something.
Max.
Maksim Gudovsikov wrote:
Hi,
html_options are just normal attributes you write on to the html-tags
like: class, style
Hi,
it's the default error_message_on behavior. You can try to override it.
Another solution could be to write your message without the attribute:
just can't be blank., so you get Name can't be blank.
Hope it helps you. Regards,
Maksim.
Am 23.09.2010 12:09, schrieb Mike Disuza:
Hi,
Your
, :message=Post name can't be
blank.
end
But it is giving me error:-
Unknown validator: 'message'
Can anyone tell me How to give the custom message in rails 3 model
validations?
Thanks,
Mike
--
Maksim Gudovsikov
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
12 matches
Mail list logo