First remove the file , public/index.html and add a route (to config/routes.rb) like:
then …
For example map.connect’ ‘ :controller => ‘Home’, :action => ‘ index’
To specify the Controller and Action for the initial you application Rails.
Share on Facebook
var button = document.getElementById(’facebook_share_link_261′) || document.getElementById(’facebook_share_icon_261′) || document.getElementById(’facebook_share_both_261′) || document.getElementById(’facebook_share_button_261′);
if (button) {
button.onclick = function(e) {
var [...]
Share on Facebook
Why would any self-respecting Java developer care about Ruby? Ruby is a general-purpose scripting language created 10 years ago in Japan. Contrary to popular belief, it is a pure object-oriented language. Unlike Java technology, Ruby has no scalars, so everything, including integers, are first-class objects. Ruby’s syntax borrows heavily from Smalltalk, Python, and Ada. Like [...]
Share on Facebook
This is video by locos x rails Conference Buenos Aires Argentina
We are in the Video Juan Ayup and Me
Tinix./
Share on Facebook
var button = document.getElementById(’facebook_share_link_240′) || document.getElementById(’facebook_share_icon_240′) || document.getElementById(’facebook_share_both_240′) || document.getElementById(’facebook_share_button_240′);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, ’sharer.php’);
window.open(url,’sharer’,'toolbar=0,status=0,width=626,height=436′);
return false;
}
if (button.id === ‘facebook_share_button_240′) {
button.onmouseover = function(){
this.style.color=’#fff’;
this.style.borderColor = ‘#295582′;
this.style.backgroundColor = ‘#3b5998′;
}
button.onmouseout = function(){
this.style.color = ‘#3b5998′;
this.style.borderColor = [...]
Share on Facebook
The package needed is the ruby1.8-dev …then install
tinix@Creek:/#sudo gem install ruby-debug
Building native extensions. This could take a while…
Building native extensions. This could take a while…
Successfully installed linecache-0.43
Successfully installed ruby-debug-base-0.10.3
Successfully installed ruby-debug-0.10.3
3 gems installed
Installing ri documentation for linecache-0.43…
Installing ri documentation for ruby-debug-base-0.10.3…
Installing ri documentation for ruby-debug-0.10.3…
Installing RDoc documentation for linecache-0.43…
Installing RDoc documentation for ruby-debug-base-0.10.3…
Installing [...]
Share on Facebook
I needed install ruby-debug but the package could a take Error
tinix@Creek:/home/tinix/test# gem install ruby-debug
Building native extensions. This could take a while…
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install ruby-debug
extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)
from extconf.rb:1
Gem files will remain installed in /var/lib/gems/1.8/gems/linecache-0.43
for [...]
Share on Facebook
Finished the Conference in Buenos Aires locosxrails.com all very good, where I served well and I learned a lot more with different speakers,
I like the talk Obie Fernandez was …
that he wanted to rescue Rio Cuarto developers who are working on Ruby on Rails as well,
this moment not remenber his names…
everything was great thanks again [...]
Share on Facebook
This is a simple configuration of port on WEBrick,
A few minutes ago I was looking for change parameters for lifting webrick in him port 80, because the truth that is not wanted in the 3000 perhaps for the sake of itself …. so here I leave the path so they can do that,
tinix@debian:~/rails$ locate webrick.rb
usr/lib/ruby/1.8/webrick.rb
/usr/share/rails/railties/lib/commands/servers/webrick.rb
/var/lib/gems/1.8/gems/rails-1.2.5/lib/commands/servers/webrick.rb
tinix@debian:~/rails$
then
tinix@debian:~/rails$jed [...]
Share on Facebook
My first work on rubyonrails was the created of a weblog by conect on database ; MYSQL all it’s very well and great…was howto I thinking
• Web development that dosen’t hurt…
• Allora parlando italiano ho detto
• “Sono rimasto stupito di queste weblog in RoR”
• In italian say I was surprised by this weblog…
• It’s very [...]
Share on Facebook
It seems that the fashion came to rubyonrails, was looking at something and this is my first impression.-
What I Find Here…..
Ruby Web framework
Rails: Complete API
Ruby Core
Ruby Standard Lib
Agile web development
A public snnipets
And more…
and otrher much tutorials scattered over the Internet.
Finaly rails supported values are mysql, oracle, postgresql, sqlite2, and sqlite3.
I saw the vertical drop as [...]
Share on Facebook