Hello,
I new to ruby on rails, I have like this on my laptop with ubuntu 13.04:
ruby -v;
ruby 1.9.3p429 (2013-05-15) [x86_64-linux] Brightbox
gem -v;
1.8.25
bundle -v;
Bundler version 1.3.5
And the Gem file:
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
http://stackoverflow.com/questions/17505792/keep-getting-application-error-on-heroku
try add `gem 'bcrypt-ruby', '~ 3.0.0'` to your Gemfile
On Tue, Jul 9, 2013 at 12:42 AM, Silviu Constantin Voicu
svoicu...@gmail.com wrote:
Hello,
I new to ruby on rails, I have like this on my laptop with
Hi,
I need to upload files in my rails application.the type of the files
should be pdf,xls,word.After that i need to download them from the view
page.plz help me in this regard.
Thankyou
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
On Tue, Jul 9, 2013 at 4:54 PM, mack gille li...@ruby-forum.com wrote:
Hi,
I need to upload files in my rails application.the type of the files
should be pdf,xls,word.After that i need to download them from the view
page.plz help me in this regard.
Thankyou
You should look at
Hi,
i need to use authentication for the 4 models,is it possible to use
single devise for all models,if yes plz let me know them clearly.
if not what is the solution.
Thankyou
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
On Jul 9, 2013, at 2:31 AM, mack gille li...@ruby-forum.com wrote:
i need to use authentication for the 4 models,is it possible to use
single devise for all models,if yes plz let me know them clearly.
if not what is the solution.
Maybe you could direct your question to the devise mailing list
How about an authorization solution like cancan. Have a single sign in point
and redirects based on user rights.
--
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
Thomas Chik wrote in post #1114847:
How about an authorization solution like cancan. Have a single sign in
point and redirects based on user rights.
ya,but my sign in page should has the fields like
username:
password:
rememberme
signin
so how can
--
Posted
I've been asked to put together a simple intranet Wiki, but the only
server I have available is a Windows 7 machine with Rails ( on Ruby
2.0 ) installed.
I've been looking around for options which will work on this platform -
I tried Instiki and Refinery CMS but neither of them appear to be
hi,
i have popup input field that is address when i enter address and
submit a button then it need to save with out refreshing the page.
it may use javascript or ajax.how can i store the address field in my
table without refreshing the page.
please clarify me.
thankyou
--
Posted via
This should help:
http://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html
--
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 unsubscribe from this group and stop receiving emails
mack gille wrote in post #1114848:
Thomas Chik wrote in post #1114847:
How about an authorization solution like cancan. Have a single sign in
point and redirects based on user rights.
ya,but my sign in page should has the fields like
username:
password:
rememberme
Robert Walker wrote in post #1114535:
ram kris wrote in post #1114502:
how to use single login page for users in four models
You have not given enough detail in your question to know what you're
asking.
Are you saying that you have four different types of users? If so then
why do you have
Robert Walker wrote in post #1114535:
ram kris wrote in post #1114502:
how to use single login page for users in four models
You have not given enough detail in your question to know what you're
asking.
Are you saying that you have four different types of users? If so then
why do you have
Hello All,
I want to schedule a mail every day.
I used whenever gem.
I added gem 'whenever' in my gemfile. Then in the terminal I did -
whenever . which created a schedule.rb.
In schedule.rd I added this piece of code:-
set :environment, development
every 2.minutes do
runner
use
whenever -w
to write into system crontab ; to check if write successfully try crontab -l
whenever -c to clear
--
rubyonrai...@gmail.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, July 9, 2013 at 9:28 PM, Avi wrote:
--
You received this message because you
Colin,
Thanks very much, I should have done that and understood right away why it
was not working.
I forgot I had to login the user and that was the difference between the
new and create actions to the update and destroy for the
registrations controller on devise!
sometimes you just need
On Jul 9, 2013, at 9:17 AM, mack gille wrote:
Robert Walker wrote in post #1114535:
ram kris wrote in post #1114502:
how to use single login page for users in four models
You have not given enough detail in your question to know what you're
asking.
Are you saying that you have four
How about write out to some file as you might can not see these PUTS
--
rubyonrai...@gmail.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, July 9, 2013 at 10:08 PM, avinash behera wrote:
I tried with these commands. It is fine. But the schedule.rb is not being
I tried with these commands. It is fine. But the schedule.rb is not being
invoked.
I tried with some puts inside the method, but it is not getting invoked.
result of whenever -w - [write] crontab file written
result of crontab -l :-
# Begin Whenever generated tasks for: the complete
Hi all,
Really facing issue to share image. Wen I click on share image then on
thumbnail list of images don't have my image.
Thanks
Best Regards
Fahim Babar Patel
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this
On Tue, Jul 9, 2013 at 10:42 AM, Fahim Patel pafa...@gmail.com wrote:
Really facing issue to share image. Wen I click on share image then on
thumbnail list of images don't have my image.
How about some code to look at? Better diagnostic descriptions? A log?
Something? The statement I quoted is
On 9 July 2013 06:42, mack gille li...@ruby-forum.com wrote:
yes mike,but when we need to authenticate the devise models,how to write
the scope for two devises in routes.
means if user and admin are two devise models,
I believe that it is generally best not to have separate models. Just
have
On 9 July 2013 10:31, mack gille li...@ruby-forum.com wrote:
Hi,
i need to use authentication for the 4 models,is it possible to use
single devise for all models,if yes plz let me know them clearly.
if not what is the solution.
As I suggested in a separate thread, I advise just having a
On 9 July 2013 11:46, Joel Pearson li...@ruby-forum.com wrote:
I've been asked to put together a simple intranet Wiki, but the only
server I have available is a Windows 7 machine with Rails ( on Ruby
2.0 ) installed.
I've been looking around for options which will work on this platform -
I
On 9 July 2013 14:48, and...@benjamin.dk wrote:
Colin,
Thanks very much, I should have done that and understood right away why it
was not working.
I forgot I had to login the user and that was the difference between the new
and create actions to the update and destroy for the registrations
Useful link, thanks.
I was hoping for a Rails option because I haven't yet found another web
host which will work on a Windows 7 PC without a fuss.
I've tried Wordpress and Joomla, but Microsoft's WebMatrix refuses to
work without an actual Internet server, and I only want a local Intranet
paperclip is a great way to upload the files. downloading the files
shouldn't be too difficult although the details can be specific to where
you have your site deployed and how the file system is managed by the
upload choices.
on one site i have some static files that the users need to
Are you sure you need to code? I may be wrong, but it sounds like someone
wants a wiki.
I'd use a local apache install with php set up on that to host one of the
wiki solutions they have.
~Spaceghost
On Jul 9, 2013 5:46 PM, Joel Pearson li...@ruby-forum.com wrote:
Useful link, thanks.
I was
I recently launched the new Rails-based version of Doppler Value Investing
(http://www.dopplervalueinvesting.com). It profiles over 4000 individual
stocks in terms of free cash flow and net liquid assets.
As you can see at http://dopplervalueinvesting.com/stocksview, I know how
to extract
On Jul 9, 2013, at 6:14 AM, mack gille li...@ruby-forum.com wrote:
Robert Walker wrote in post #1114535:
ram kris wrote in post #1114502:
how to use single login page for users in four models
You have not given enough detail in your question to know what you're
asking.
Are you saying
On Jul 9, 2013, at 2:46 PM, Joel Pearson li...@ruby-forum.com wrote:
Useful link, thanks.
I was hoping for a Rails option because I haven't yet found another web
host which will work on a Windows 7 PC without a fuss.
I've tried Wordpress and Joomla, but Microsoft's WebMatrix refuses to
32 matches
Mail list logo