rails s
/usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require':
cannot load such file -- mysql2/mysql2 (LoadError)
from /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `top
(required)'
from
/usr/local/share/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in
I was just wondering why the published Rails Getting Started
guidehttp://guides.rubyonrails.org/getting_started.htmlseems to be so far
behind the source
at
Githubhttps://github.com/rails/rails/blob/master/guides/source/getting_started.md.
--
You received this message because you are
Hello all,
I'm new to Rails and have been learning for a couple months now. I am
building a simple application that will be used internally by a 20 people
within an organization.
In the first instance they will need to sign up with their email address.
When the app is ready to go live with
Our client is a leading interactive firm that is looking to bring on a Lead
Ruby on Rails to join their dynamic and smart team. They are open to hiring
full-time or a long term consultant. This opportunity is offering a very
aggressive pay. Below are the details. Please respond quickly if
Hi. I am having problems populating my db.
I created a sample_data.rake file/
When I run rake db:populate it shows exactly what it should show- no
errors. But when I go to localhost and try to login the db has not been
populated.
--
You received this message because you are subscribed to
I notice there's the protocol option you can pass to route helpers to
ensure that you can use https.
I'm just wondering if there's a setting that can be applied globally so
that I don't have to do this with each individual call.
Thanks.
--
You received this message because you are
I have a project I've been working on that may help. It includes some
template config files for both unicorn and nginx, as well as bash scripts
to set it up with or without ssl.
The assumption is that you are setting it up on Amazon EC2, but it should
work with minor changes for any linux
Read http://edgeguides.rubyonrails.org
--
Dheeraj Kumar
On Sunday 11 August 2013 at 9:14 AM, Dow Drake wrote:
I was just wondering why the published Rails Getting Started guide
(http://guides.rubyonrails.org/getting_started.html) seems to be so far
behind the source at Github
Have you installed mysql libraries?
--
Dheeraj Kumar
On Friday 9 August 2013 at 9:17 PM, Harish Vishnu wrote:
rails s
/usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require': cannot
load such file -- mysql2/mysql2 (LoadError)
from
On 11 August 2013 05:17, Ben Pines bpi...@gmail.com wrote:
Hi. I am having problems populating my db.
I created a sample_data.rake file/
When I run rake db:populate it shows exactly what it should show- no errors.
But when I go to localhost and try to login the db has not been populated.
On 9 August 2013 16:47, Harish Vishnu vishnuharis...@gmail.com wrote:
rails s
/usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require':
cannot load such file -- mysql2/mysql2 (LoadError)
If you look in the lib folder mentioned above is there a subdirectory
mysql2 containing
On Friday, 9 August 2013 15:15:16 UTC-4, stantona wrote:
I notice there's the protocol option you can pass to route helpers to
ensure that you can use https.
I'm just wondering if there's a setting that can be applied globally so
that I don't have to do this with each individual call.
Robert Walker wrote in post #1116678:
kishan kumar katamala wrote in post #1116674:
Hi all,
I am newbie to ruby on rails, i want to move rail application from one
server to another servers.
can you please help me.
You need to investigate a proper application deployment strategy. You
On 12 August 2013 12:51, kishan kumar k. li...@ruby-forum.com wrote:
Robert Walker wrote in post #1116678:
kishan kumar katamala wrote in post #1116674:
Hi all,
I am newbie to ruby on rails, i want to move rail application from one
server to another servers.
can you please help me.
You
Angela:
Have you checked out Crowd-In (http://crowdin.net)? It is a crowd-based
translation service and they are free for open-source projects:
http://crowdin.net/page/open-source-project-setup-request.
I'm using them for a small project and they've been helpful.
Iain
On Sun, Aug 11, 2013 at
Oh Thanks Iain, will do!
On 12 August 2013 13:24, Iain Davis i...@ruhlendavis.org wrote:
Angela:
Have you checked out Crowd-In (http://crowdin.net)? It is a crowd-based
translation service and they are free for open-source projects:
http://crowdin.net/page/open-source-project-setup-request.
On Aug 9, 2013, at 12:12 PM, bran...@univrs.co.uk wrote:
Hello all,
I'm new to Rails and have been learning for a couple months now. I am
building a simple application that will be used internally by a 20 people
within an organization.
In the first instance they will need to sign up
hi!
i am trying to add database field to a model without model regeneration.
i have added my field to migration scripts
class CreateUsers ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
t.string :lg, :default = en
t.timestamps
end
end
On 12 August 2013 16:26, Valentin Kotelnitski li...@ruby-forum.com wrote:
hi!
i am trying to add database field to a model without model regeneration.
i have added my field to migration scripts
class CreateUsers ActiveRecord::Migration
def change
create_table :users do |t|
thanks for an advise not to change the code in migration tables.
i could delete it and add new fields by new migrations scripts
but these migration scripts have an influence only on a database schema,
not on a table model in app/models catalogue.
the only thing i want to do is to add database
Replying to my own, since I posted after beer-thirty on Friday.
On Aug 9, 2013, at 5:15 PM, Walter Lee Davis wrote:
I need to duplicate an object that has an attached Paperclip file. This file
(depending on its file-type) may have two to four different styles, with
separate file-processing
Please remember to quote the previous message and insert your reply
inline at appropriate points in the previous message. Remember this
is a mailing list not a forum (though you may be accessing it using a
forum-like interface). Thanks.
On 12 August 2013 16:47, Valentin Kotelnitski
Thank you, Colin!
Colin Law wrote in post #1118501:
Please remember to quote the previous message and insert your reply
inline at appropriate points in the previous message. Remember this
is a mailing list not a forum (though you may be accessing it using a
forum-like interface). Thanks.
Sorry, it is not a solution.
add_column in generated migration scripts adds desired column to
database schema.
Except that I need a property in my model of a table corresponding to a
newly migrated column.
That is the question.
--
Posted via http://www.ruby-forum.com/.
--
You received this
On Aug 12, 2013, at 11:57 AM, Valentin Kotelnitski li...@ruby-forum.com wrote:
Except that I need a property in my model of a table corresponding to a
newly migrated column.
That is the question.
? Rails models automatically derive from the current schema. If you're actually
asking what I
If you're curious, read up on the Active Record (two words) pattern here:
http://martinfowler.com/eaaCatalog/activeRecord.html
Each time you get an object, that object is built up from whatever is in the
database record that backs it as of that moment. You either get the default
value for that
Actually, this is a better write-up, forget what I suggested earlier, that's a
stub to a book you'd need to buy. (And I think everyone should own it, too.)
https://en.wikipedia.org/wiki/Active_record_pattern
Walter
On Aug 12, 2013, at 2:07 PM, Scott Ribe wrote:
On Aug 12, 2013, at 11:57 AM,
I have a project model which I'd like to set the default_scope to filter
out projects where the user doesn't have permission to view them.
Think something along the lines of the projects having a list of teams
and companies that the user must be in to access the data.
default_scope seems to work
Firstly, somehow you are starting a new thread (as I view it in gmail
at least) for every reply. I don't use ruby-forum so I don't know
what you are doing wrong but something is not right. Have you
considered signing up to the mailing list, then life will be much
simpler.
On 12 August 2013
I've tried following the pattern from the accepted answer here:
http://stackoverflow.com/questions/10680845/owner-filteder-model-objects-on-rails-3
But I'm left with a problem in that I populate the session variables on
User.after_database_connection (when I'd assumed, probably incorrect,
that we
Hi, anu. I am having the same exact problem. Just wondering if you found a
solution. I am stumped.
On Friday, July 26, 2013 4:56:09 AM UTC-4, anu wrote:
heroku gives the error application error in the browser for import
functionality
in heroku logs
application.rb/ require:cannot load
Sounds like there's something wrong with your nginx config and/or
unicorn.conf. Could you put a github gist link for each of these
configurations?
Cheers,
Dwight S. (@denzuko)
ComputekIndustries.com
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
From a rails social question and answer site, I want to allow users to
share a question via email. The question would have an email icon that
opens a modal where an email address, name, and comments could be
entered. I am not interested in saving the entered information. It
would get passed to
33 matches
Mail list logo