I'm creating a new resource with
sudo ./script/generate hobo_model_resource story title:string
what_happened:text
but after that I can find no update in app/views/taglibs/auto/rapid/
index.dryml
shall I add my stuff for story manually (as I do now) or it's support
to generated itself?
also when I do it manually, it would not work in all versions and
sometimes would say in log that .erb file is missing.
thx.
-Owen
Alternatively switch to the development environment where the DRYML is
recompiled every time there is a need to.
Patrick
> --
> You received this message because you are subscribed to the Google Groups "Hobo Users" group.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
>
>
You can force an update with this rake task:
\my-hobo-app> rake hobo:generate_taglibs
-Owen
so that's what I did (if someone would ahve the same problem)
sudo /etc/init.d/apache2 stop # i'm on apache through passenger
sudo ./script/generate hobo_model_resource story title:string
what_happened:text # and needed modifications in models and
controllers
sudo ./script/generate hobo_migration
rake db:migrate RAILS_ENV=development
sudo ./script/server -p80 # and tested the site going to url
killed the mongrel process
rake db:migrate RAILS_ENV=production
sudo /etc/init.d/apache2 start #and then all the neede stuff got
generated.
> Hi all!
>
> I'm creating a new resource with
> sudo ./script/generate hobo_model_resource story title:string
> what_happened:text
Never encountered this particular problem, but why are you using sudo
for this? It seems like a recipe for permission / owner problems...
--Matt Jones
i did though change the permission of files with chown to the same
user as others, but may it be that the db has created a table that can
be accessed only by admin?
On Feb 3, 11:59 pm, Edward Samokhvalov <a0b0c0d...@gmail.com> wrote:
> It seems that I do have some perms prob now...
> that's the issuehttp://groups.google.com/group/hobousers/t/2dbec7b086a0ad77