This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<%= error_messages_for 'offer' %> | |
<fieldset> | |
<legend>Haga su oferta</legend> | |
<% form_for :offer, :url => {:action => :save_offer} do |form| %> | |
<p> | |
<%= label :offer, :name, "Name:" %> | |
<%= form.text_field :name, :size => 40%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def save_offer | |
@offer = Offer.new(params[:offer]) | |
@offer.offer | |
@offer.save | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mapo@mapo-laptop:~/Devel/RoR/exchan$ ruby script/server | |
=> Booting WEBrick... | |
=> Rails 2.2.2 application started on http://0.0.0.0:3000 | |
=> Ctrl-C to shutdown server; call with --help for options | |
[2009-01-19 22:57:24] INFO WEBrick 1.3.1 | |
[2009-01-19 22:57:24] INFO ruby 1.8.7 (2008-08-11) [i486-linux] | |
[2009-01-19 22:57:24] WARN TCPServer Error: Address already in use - bind(2) | |
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE) | |
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new' | |
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<b>Name:</b> | |
<%=h @post.name %> | |
</p> | |
<p> | |
<b>Email:</b> | |
<%=h @post.email %> | |
</p> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[91mnpm[0m[91m WARN config production Use `--omit=dev` instead. | |
[0m[91mnpm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated | |
[0m[91mnpm WARN[0m[91m deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. | |
[0m[91mnpm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated | |
[0m[91mnpm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility | |
[0m[91mnpm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated | |
[0m[91mnpm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated | |
[0m[91mnpm WARN [0m |