Displaying 20 results from an estimated 2000 matches similar to: "Rails hosting"
2013 Feb 05
3
Truncate text
Hi Folks,
Good evening,
I used the code which i print below,
Yes i got the result , but i need the result like this "TruncateHtml is jus....(continued)"
some_html = ''<ul><li><a href="http://whatever">TruncateHtml is just like the vanilla truncate rails helper , TruncateHtml is just like the vanilla truncate rails
2012 Jul 06
2
Frontend Style Demo Page
Hi guys!
I''m trying to help out our frontend guy by making a page a single page that
contains every kind of situation our site uses. So there should be a
header, a nav in a few various states, a new form, a form with errors, etc.
Then I also want to figure out some way to show what it will look like in a
few different screen sizes (I''m thinking of starting with a pair of
2011 Aug 23
12
remove a table with migration
HI, guys,
How to remove a table with migration, i saw a drop down method in
migration created file , how can i use that ?
thank you.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email
2012 Sep 21
9
Using PostgreSQL with RoR on windows. Help!
So I just got involved in a huge team project with RoR and PostgreSQL.
But I can''t find anywhere on the internet to find a proper way to put
them together. I did find one but it is for iOS :-/
http://railscasts.com/episodes/342-migrating-to-postgresql?view=asciicast
I have them both installed and the gem package for postgres also. the
database.yml is already configured. I just
2012 May 09
12
out of memory (java heap space) on zip creation (jruby)
I am using rubyzip and am trying to put a huge csv file with 1.4
million rows into the zip file.
Using jruby I get a out of heap error.
I believe the error happens in the block below:
Zip::ZipOutputStream.open(zip_path) do |zos|
zos.put_next_entry(File.basename(csv_path))
zos.print IO.read(csv_path)
end
--
You received this message because you are subscribed to the Google
2012 May 10
6
Is it suitable using STI?
I have problems on a simple design problem.
I have many companies. Each company have one or more commercial activity.
Activities types are: ecommerce, local unit, television, automatic
vending machines, and so on.
Company may have one or more ecommerce activity or one or more local
unit activity, one ormore vending machines, etc.
How can I model this scenario?
Company has_many ecommerce has_many
2013 Feb 05
2
project proposal.
Hello.
There is someone interested to a collaboration in developing a project
to manage commercial activities?
The target is to learn more on grails and develop an useful application.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2011 Dec 17
7
How to fire Ajax call from Form_for
I am learning Rails 3 and need some help on Ajax part.
I am trying to accomplish the following:
There is a textarea on the page which has a length of letters
constraint, say 100. Every time a symbol is typed there,a nearby label
tells you how many letters you have left.
I plan to use Ajax to do this.
I googled for a few hours and could not figure out how to do this.
So far what I have done is
2012 May 27
3
Dumb question
Folks
Can a model just have a belongs_to only? or do you have to have a
belongs_to and a has_many or has_one on the other model?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2012 May 13
4
undefined method `key?' for nil:NilClass,bcrypt-ruby,has_secure_password
I''m going through DHH''s Agile Web Development with Rails for Rails 3.1. In
chapter 14 they create a Users sign-in model/view/controller using the
has_secure_password method. My user.rb file looks like this
class User < ActiveRecord::Base
attr_accessible :name, :password_digest, :password, :password_confirmation
validates :name, presence: true, uniqueness:
2012 Oct 29
16
Newbie - deployment, hosting
Hello,
So, after learning ruby on rails and building a great app on my local
machine, I need to find a host, deploy, and of course maintain a (staging
and) production environment.
This all seems very confusing, and I''d like to learn this in an organized
manner, step by step:
I''ve come across the names: Unicorn, nginx/apache, capistrano,
Thin/mongrel, Engine Yard, EC2, etc.,
2010 Jun 08
9
[Rails Heroku] Problem with saving object (on heroku hosting)
Hi All,
I have some strange problem which appears only on heroku hosting 2.3.5
default stack (not on my local computer)
I have some models. Here they are:
class Contact < ActiveRecord::Base
belongs_to :user
belongs_to :type, :class_name => "ContactType", :foreign_key =>
"type_id"
validates_presence_of :name, :on => :create, :message =>
2011 Dec 20
4
Custom Devise Controller
Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial (
http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform
this I need to update my controller(in this case the controller responsible
to manipulate user).
But I''m using Devise gem and I don''t know how I could manipulate the
2012 Dec 01
4
heroku deployment
i want to deploy two rails application in heroku..so how can i deploy two
application with one account in heroku and github..i am little confused
that i have to take two rsa public key or how..thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody,
Please any one help me, Previous two day''s I am googling, Still not
find solution. this really frustrating.
I had deploy my app on heroku http://radiationn.heroku.com/. it is
working fine on localhost but i got APPLICATION ERROR.
IN log wht i find that in photo.rb model not able to find
"has_attached_file", I am not able to shout out this proble. It
working
2009 Sep 11
4
heroku gem and two different heroku accounts
Heroku support works so slowly I want to ask community.
1)I have a problem with switching between my two heroku accounts on the
same laptop. All of the commands execute from one of these, but I want
to execute it from another. Howto switch user to another heroku account?
2) how to treat my ubuntu to default for the heroku.com?
--
Posted via http://www.ruby-forum.com/.
2010 Nov 29
4
Error heroku: App Crashed
Hi ,
i developed a small application(which contails only static pages) . I
tried to host that on heroku .just when everything was finished when
i
opened my site i,e http://floating-moon-89.heroku.com/ i am getting
an
error as App Crashed..where did it gone wrong? pls help...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2011 Oct 30
5
Fatal error: The remote end hung up unexpectedly
Hi,
I''d like to create my first ROR application on Heroku but I can''t deal
with one step in this tutorial:
http://devcenter.heroku.com/articles/quickstart
I''ve spent all my day for this and I have no idea what is wrong...
I cannot deal with last one in 3th part -> Create your Heroku
application
What I did:
I''ve installed eveything what I need
1.
switch to
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
2010 Dec 11
3
Why doesn't Heroku show the Rails default page?
Following chapter (1) of the Ruby on Rails tutorial:
http://railstutorial.org/, I was able to successfuly push the
application to "Heroku" using:
> git push heroku master
But, when I open the website, I get a page with the following:
App crashed
This application is temporarily offline.
If you''re the administrator of this app, please check your heroku logs
for the backtrace.