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
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
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
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
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
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
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
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
>
: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
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
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
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
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,
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
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
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
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
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
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
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
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
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
'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
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
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
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
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
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.
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
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;
}
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
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
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
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/.
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
35 matches
Mail list logo