Hello I need your help and expertise,
I have a method_name called avatar which will pull data to the web and
shows
the photo object from the Binary String.
def avatar
@ja = Model.where(id = params[:id]).limit(1).first
if @ja.avatar @ja.avatar.photo_binary
send_data
Abder-Rahman Ali wrote:
In following this tutorial:
http://railscasts.com/episodes/209-introducing-devise
When I sign up or sign out I don't get a flash message as shown in the
tutorial, what could be the problem here?
Thanks.
Hi Abder-Rahman
Keep an eye on your migration file ... if
Hi Guys,
In my devise applications in Rails 3, I created a separate form under my
SettingsController class of which it handles the 'Change Password' of
the User Model, so i can manipulate the current_user in the
SettingsController.
Now, I followed the set-up in the Devise/Views on how to update
Hemant Bhargava wrote:
Sur Max wrote:
IMHO, you really need to study the routes and how restful routing
works. http://guides.rubyonrails.org/routing.html
Scaffolding must have had generated the restful routing for the said
controller and thus no other method except CRUD is being entertained
frankjmat...@gmail.com wrote:
it looks like you either installed rvm as root or are running it as
such... I'm not sure exactly.
either way. you shouldnt have to involve usr/bin in anything. all
your commands should be directly from your home user directory.
done that way, rvm will then
frankjmat...@gmail.com wrote:
Also I should have noted, after you get rails installed and run
rails new MyNewAppName you should cd to that directory and run
bundle install
that will install all of your gem dependencies from your Gemfile and
you shouldn't get that sqlite3-ruby error anymore.
6 matches
Mail list logo