Antonio Cangiano has a good review of some rails hosting packages at http://www.antoniocangiano.com/articles/2006/01/01/rails-hosting
I was wondering how you could accomplish this with a different controller. For ex:
in the users view I have:
<%= text_field_with_auto_complete :state, :name %>
where would I put the controller code, in the user or state controller. so far both havent worked for me. Thanks
I’ve been studying Ruby On Rails over the past few weeks and taking notes as I go. This is a result of my amassed noteset from reading books, tutorials and websites. I also find writing notes helps you to remember so this was also a memorization exercise for myself.
I have an application that will have multi-language views spanish, english, etc. What i want to do is the next thing, on the views folder i want to create a folder named “spanish”, another one named “english”, etc. These folders will contain all the rhtml files of each language. But, the problem is...
When i want to acces the main page i will be redirected to the view of the language selected. For example, in PHP i will do something like this:
$language=”spanish”;
$url_to_show=”$language/index.php”;
On rails i have a controller with a function named index, and it shows the view “index.rhtml”... but i want to show the index.rhtml that is inside of the selected language folder
Is it possible?
If you decide to recommend using Rails with a team that doesn’t know much about it, you may run into some questions. If you don’t have some ready answers, the idea will most likely be shot down quickly and left in the dust.
Street Easy is a sweet new mash-up of Google Maps that’s running Ruby on Rails to mock you for all the places in New York you can’t afford to buy.
<%= javascript_include_tag "prototype" %><%= link_to_remote(
"Say Hello Word",
:update => 'main',
:url => { :action => :print_hello }) %>
<div id="main">This is some text...</div>
Rails 1.0 is mostly about making all the work we’ve been doing solid. So it’s not packed with new features over 0.14.x, but has spit, polish, and long nights applied to iron out kinks and ensure that it works mostly right, most of the time, for most of the people. Yes, we still have pending tickets, but we will always have pending tickets. If I had accepted that fact back in February, we would probably have been at 2.0 now ;).