search for: springflowers

Displaying 6 results from an estimated 6 matches for "springflowers".

2009 Apr 21
12
still cannot install rails on windows
if i follow the instructions on: http://agilo.us/2009/03/15/rails-on-windows/ the command gem install sqlite3-ruby will give --------------------------------- Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb checking for fdatasync() in rt.lib... no checking for
2009 May 26
9
cookies are mandatory for Rails app?
is it true that Rails depend on cookies? It seems that flash is a part of session, and session uses cookies... so when i disable cookie in Firefox, what was working became ActionController::InvalidAuthenticityToken so is it true that for a RoR app to work, cookies are mandatory? -- Posted via http://www.ruby-forum.com/.
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for rhtml? the program erb and the description of eRuby at http://www.eruby.info both said that <% print "foo bar" %> or <% puts "hello" %> will be placed into the output... but currently for RoR, it won''t... only <%= expr %> is doing it and it cannot be print or
2009 May 24
1
is f.submit in a form_for newer than submit_tag?
some books or even the rails api uses form_for ... ... submit_tag ... end and i found that the Rails 2.3.2 Scaffold uses f.submit "Go" instead... and this is not in the rails api doc. Is this a new addition and is it suppose to replace submit_tag? -- Posted via http://www.ruby-forum.com/.
2009 May 26
1
how does form_for and validate_presence_of work hand in hand
when we have validate_presence_of :name in the model and then when we put in the create action that we re-render ''new'', then the form_for will populate the fields, and error_messages_for ''story'' will have the correct error message. this is really great, and and the same time, this looks like magic... i found that many books don''t explain how the magic
2009 Apr 22
2
what escape or sanitize functions are out there?
i found the following functions or method to escape HTML, URL params, or Javascript data: <%= h @ha %> <%= sanitize @ha %> <%= u @ha %> <%= @ha.to_json %> <%= strip_tags @ha %> are they more functions or methods to do these things? and are there alternative ways to do that? thanks. -- Posted via http://www.ruby-forum.com/.