[Rails] Re: populate text area field with anything?

2019-12-16 Thread John Ivanoff
Is your form using GET or POST? Normally when forms use GET all the fields are passed in the URL and are URI encoded. so "this is my text" turn into "this+is+my+text" On Sunday, December 15, 2019 at 7:55:03 PM UTC-5, fugee ohu wrote: > > My form has a text_area field but whether or not it passes

[Rails] Re: update rails version from 2.x to 5.x in an existing very old rails application

2019-02-01 Thread John Ivanoff
I just halted on an upgrade project due to time constraints. Rails V3 Ruby 1.9.3 It has so many abandoned Gems I had to stop at Rails 3.2.25 and Ruby 2.1 Thankfully it had good test coverage. That was a huge help. Remember when we started whitelisted attributes in the model and then it was moved

[Rails] respond to js

2018-02-10 Thread John Ivanoff
Does it work? In a nut shell. The comment is submitted via JavaScript, aka Ajax, and the controller will do what it needs to do. It appears that it will only responded to html not Ajax. But if it did. It should render the .js.erb and depending on if the comment was saved it will append the

[Rails] Re: I can't set the title of a page no matter what I have tried to put in my .html.erb file

2018-01-15 Thread John Ivanoff
I use /app/views/layouts/application.html.erb <%= yield :head %> <%= yield %> /app/views/foo/bar.html.erb <% content_for :head do %> A simple page <% end %> Hello, Rails! This way I can add "'meta descriptions" and "meta keywords" to individual pages As Hassan mentioned

Re: [Rails] I can't set the title of a page no matter what I have tried to put in my .html.erb file

2018-01-15 Thread John Ivanoff
I use /app/views/layouts/application.html.erb <%= yield :head %> <%= yield %> then in the page /app/views/fo/bar.html.erb <% content_for :head do %> A simple page <% end %> Hello, Rails! This way I can add other tags to the head section. Like `meta description` and

Re: [Rails] Best way to data sync between Rails app and phone

2017-07-25 Thread John Ivanoff
There's also a book on that. Build iOS Database Apps with Swift and SQLite => http://www.apress.com/us/book/9781484222317 John On Tuesday, July 25, 2017 at 1:03:06 AM UTC-5, Colin Law wrote: > > I achieve this by writing to an sqlite db in the android app and posting > the records to the rails

[Rails] Re: Installing Rails

2016-06-29 Thread John Ivanoff
if it fails after you installed Xcode you might need to run $ xcode-select --install John On Tuesday, June 21, 2016 at 10:09:00 AM UTC-5, Eugeniu Tambur wrote: > > Hello, > You have installed Xcode ?? > P.S. why not rvm ?? :) > > Br, > Eugeniu T. > > El martes, 21 de junio de 2016, 6:58:53

[Rails] Re: Div background image not showing in heroku. However, the logo shows

2016-01-08 Thread John Ivanoff
according to your code sample the image would have to be in the same directory of the page. - home dir |- index.html |-zoom1028.jpg On Thursday, January 7, 2016 at 10:15:15 PM UTC-6, Ruby-Forum.com User wrote: > > I tried changing the image tag, no luck with that. I reviewed other post >

[Rails] Re: Div background image not showing in heroku. However, the logo shows

2016-01-08 Thread John Ivanoff
:02:58 AM UTC-6, John Ivanoff wrote: > > according to your code sample the image would have to be in the same > directory of the page. > > - home dir > |- index.html > |-zoom1028.jpg > > > > On Thursday, January 7, 2016 at 10:15:15 PM UTC-6, Ruby-Forum.com User > w

[Rails] Re: rails server error (rails 3) in windows

2014-01-23 Thread John Ivanoff
I aggree. SQLITE will work fine. the only difference will be your config/database.yml When you do rails new project_name rails will set up the yml properly. I wrote a post back 2010 on setting up rails 2 sqlite on XP http://blog.johnivanoff.com/2010/09/ruby-192-rails-3-clean-install-on.html

[Rails] Re: How much css do I need to know for becoming a Ruby on Rails Develoepr?

2013-09-14 Thread John Ivanoff
This book http://www.abookapart.com/products/responsive-web-design is a quick read. I think it can give you the gist of what's going on now. I might get into things you might not get but if you play around you can figure it out. CSS can be very fun. On Thursday, September 12, 2013 7:50:31 PM

[Rails] how named routes work ?

2013-04-17 Thread John Ivanoff
From the information you have provided, there may be an authentication call to see if you are legged in. In not it sends you to the login page automatically. Perhaps look in the application controller to see if there is an authentication filter. Cheers, John Ivanoff -- You received

[Rails] Re: Rails 3.0 application Windows to Linux

2012-06-25 Thread John Ivanoff
I use Capistrano ( https://github.com/capistrano/capistrano ) to deploy from windows dev box to an ubuntu server. works really well. best part is if the new code pushed the ubuntu blows up for what ever reason. it's very simple to roll back to the old working version. Cheers, John On Monday,

[Rails] Re: Is Rails on IIS dead?

2011-12-21 Thread John Ivanoff
It did sped it up. I actually had ISS and Apache serving pages on the same box. I also got nginx to run on it. Seemed flakey. This is also two years ago. My ISS app was used to check what is available to rent by our sales team. Worked fine. I wouldn't try a heavy traffic site on it. Like I said

[Rails] Re: Is Rails on IIS dead?

2011-12-17 Thread John Ivanoff
Where I work we are a MS shop but I got ROR in there. I did get my ap running on a win 2k with apache. I actually had .asp and ROR apps running on the same box. My ROR app was slow. I was able to spin up a Ubuntu VM and it ran faster. When I showed that I was BBD they liked that. Showing them my

[Rails] Re: Installing RoR

2011-10-23 Thread John Ivanoff
I was able to get ROR installed on windows XP and I felt it was stable. I wrote about it here. http://bit.ly/lNxcB1 Hope that helps John Ivanoff On Oct 22, 5:24 pm, Max aa...@xmission.com wrote: I dont think you want to install ruby 1.8.7 with rails 3.0.0  i was never able to get

[Rails] Re: Ruby on Rails ebook

2011-08-10 Thread John Ivanoff
http://pragprog.com/book/ltp2/learn-to-program Learn to Program (2nd edition) by Chris Pine For this new edition of the best-selling Learn to Program, Chris Pine has taken a good thing and made it even better. First, he used the feedback from hundreds of reader e-mails to update the content and

[Rails] Re: Tutorials

2011-08-07 Thread John Ivanoff
Ruby 1.9.2 Rails 3, A Clean Install on Windows XP http://bit.ly/lNxcB1 Cheers, John On Aug 6, 2:20 pm, Colin Law clan...@googlemail.com wrote: On 6 August 2011 15:59, Rahul Rai raikra...@gmail.com wrote: I have struggled a lot to run my first rails app on  windows If you have any

[Rails] Re: Beginner's question: Rails 3 and MySQL on Windows

2011-06-30 Thread John Ivanoff
I have a post http://bit.ly/lNxcB1 where I did a clean install for rails 3 any MySQL. I am also using MySQL 5.1 on Win XP It is a pain to get it going on windows but once you do it run OK. Also on my blog I've posted a few gotcha's I've had with windows and some gems. Hope it helps. John On Jun

[Rails] Re: Beginner's question: Rails 3 and MySQL on Windows

2011-06-30 Thread John Ivanoff
example yml setting development: adapter: mysql encoding: utf8 reconnect: false database: name_of_database pool: 5 username: agoodone password: secret socket: /tmp/mysql.sock I've always used mysql Gem gem install mysql John On Jun 30, 7:58 am, John Ivanoff john.ivan

[Rails] Re: ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)

2011-04-03 Thread John Ivanoff
Sometimes I have to install the gem in the can and line to load the gem on my windows machine and then 'bundle install' works. I have also written this post in windows and rails 3. http://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-install-on.html Cheers, John Ivanoff I've

[Rails] Re: sql server 2000 with ruby on rails works???

2011-03-11 Thread John Ivanoff
a post I did a while ago... Maybe an older version of activerecord-sqlserver-adapter? http://johnivanoff.blogspot.com/2010/03/new-ruby-on-rails-setup-on-windows-xp.html also goo.gl/vvGuH Cheers John Ivanoff I've registered for the Bike MS: SAM'S CLUB Ride to fulfill a personal challenge

[Rails] Re: Why is RSpec so slow with Rails 3?

2010-10-10 Thread John Ivanoff
'home' on my c drive. Cheers, John Ivanoff On Oct 10, 8:54 am, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sun, Oct 10, 2010 at 12:40 AM, egervari ken.egerv...@gmail.com wrote: I think the last thing left is to either figure out a way to get the openjdk to run well with rubymine

[Rails] Re: slow rails environment load for unit tests, etc on windows

2010-09-12 Thread John Ivanoff
always run slower on windows than my Mac. Cheers. John Ivanoff On Sep 11, 10:04 pm, radhames brito rbri...@gmail.com wrote: what db are you using? On Sat, Sep 11, 2010 at 12:41 PM, E elliot.g...@gmail.com wrote: Hi, I'm using windoze 7 and rails 3.0. Running my unit tests takes a very

[Rails] Re: iPhone application development via rubyonrails on windows

2010-08-07 Thread John Ivanoff
http://oreilly.com/catalog/9780596805784/ iPhone, HTML and CSS. ROR on Windows (some of us are forces to use it at work) http://johnivanoff.blogspot.com/2010/03/new-ruby-on-rails-setup-on-windows-xp.html Cheers, John On Aug 6, 4:19 pm, Robert Walker li...@ruby-forum.com wrote: Marnen

[Rails] Re: Ruby on Rails + Flash Application ?

2010-06-03 Thread John Ivanoff
The first app you wrote was it perfect? mine wasn't. We've all gotten where we are from writing code and learning best practices. Sometimes we have to just jump in and get it done. I don't like doing that, but sometimes you have to. If all I did was read tutorials and best practices, I'd never

[Rails] Re: Ruby on Rails + Flash Application ?

2010-06-02 Thread John Ivanoff
Some of are required to work on windows at work. I do have a production Rails app running on a windows box. it's internal and doesn't have a high hit rate so I'm ok with it. The box also runs ASP classic on it, so it's running IIS and Apache. I like pain. At home I use a Mac and prefer it. I'm

[Rails] Re: Ruby on Rails + Flash Application ?

2010-06-01 Thread John Ivanoff
flash and rails . . . Flexible Rails Flex 3 on Rails 2 http://www.manning.com/armstrong/ I used to use instant rails but dropped that a while ago. I develop on windows :-/ I wrote post on windows and rails installation.

[Rails] Re: Guide to using SQL Server on Rails (with JRuby, in a Windows environment)

2010-05-26 Thread John Ivanoff
I'm a little late but here's what I did with window, ROR and MSSQL server http://johnivanoff.blogspot.com/2010/03/new-ruby-on-rails-setup-on-windows-xp.html cheers, John On May 25, 10:06 pm, pepe p...@betterrpg.com wrote: First of all many thanks to everybody contributing to solve this problem

[Rails] Re: Printing the contents of a DIV

2009-06-12 Thread John Ivanoff
or body div id=for_screen_display this is stuff I don't want to print. /div div id=for_screen_and_print_display this is content for screen and print. /div /body print.css -- div#for_screen_display { display:none; }

[Rails] Re: A CSS issue

2008-12-30 Thread John Ivanoff
http://www.alistapart.com/articles/progressiveenhancementwithcss/ On Dec 29, 8:37 am, John Ivanoff john.ivan...@gmail.com wrote: Box models here's a handy IE toolbar -- Internet Explorer Developer Toolbarhttp://www.microsoft.com/downloadS

[Rails] Re: A CSS issue

2008-12-29 Thread John Ivanoff
Box models here's a handy IE toolbar -- Internet Explorer Developer Toolbar http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038displaylang=en I don't consider myself a guru. In looking at your CSS there could

[Rails] Re: Advice on Mac versus PC ?

2008-12-28 Thread John Ivanoff
Don't forget there's an XML file in your iTunes library (probably in the my music folder) that has your playlists and such. You'd have to move that tp the mac or what ever you get. And if you plug in the USB drive into a mac the drive letters might be different. Find/ replace? HTH John. On Dec

[Rails] Re: setup rails

2008-11-30 Thread John Ivanoff
http://instantrails.rubyforge.org/wiki/wiki.pl http://instantrails.rubyforge.org/wiki/wiki.pl?Rolling_With_Ruby_On_Instant_Rails_Tutorial On Nov 30, 9:38 am, Ideale Ideale [EMAIL PROTECTED] wrote: please help ;(( -- Posted viahttp://www.ruby-forum.com/.

[Rails] OT: What happened to Rspec Google group?

2008-10-06 Thread John Ivanoff
It disappeared over the weekend. Anybody know what happened? http://groups.google.com/group/rspec/ John I --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email